fix: initialize notification helpers in lifecycle methods
- Fix 't is not a function' error during image upload by properly initializing notification helpers - Move notification helper initialization from class-level to lifecycle methods (created/mounted) - Affected components: ImageMethodDialog, SeedBackupView, QuickActionBvcBeginView, HelpNotificationsView - Ensures $notify is available when createNotifyHelpers() is called - Resolves notification errors in image upload functionality
This commit is contained in:
@@ -99,7 +99,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
$router!: Router;
|
||||
|
||||
// Notification helper system
|
||||
private notify = createNotifyHelpers(this.$notify);
|
||||
private notify!: ReturnType<typeof createNotifyHelpers>;
|
||||
|
||||
attended = true;
|
||||
gaveTime = true;
|
||||
@@ -111,6 +111,9 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
* Uses America/Denver timezone for Bountiful location
|
||||
*/
|
||||
async mounted() {
|
||||
// Initialize notification helpers
|
||||
this.notify = createNotifyHelpers(this.$notify);
|
||||
|
||||
logger.debug(
|
||||
"[QuickActionBvcBeginView] Mounted - calculating meeting date",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user