Fix: notify getting called before it's initialized
- Initialize notify earlier inside created()
This commit is contained in:
@@ -724,6 +724,8 @@ export default class ClaimView extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async created() {
|
async created() {
|
||||||
|
this.notify = createNotifyHelpers(this.$notify);
|
||||||
|
|
||||||
const settings = await this.$accountSettings();
|
const settings = await this.$accountSettings();
|
||||||
|
|
||||||
this.activeDid = settings.activeDid || "";
|
this.activeDid = settings.activeDid || "";
|
||||||
@@ -754,8 +756,6 @@ export default class ClaimView extends Vue {
|
|||||||
this.windowDeepLink = `${APP_SERVER}/deep-link/claim/${claimId}`;
|
this.windowDeepLink = `${APP_SERVER}/deep-link/claim/${claimId}`;
|
||||||
|
|
||||||
this.canShare = !!navigator.share;
|
this.canShare = !!navigator.share;
|
||||||
|
|
||||||
this.notify = createNotifyHelpers(this.$notify);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// insert a space before any capital letters except the initial letter
|
// insert a space before any capital letters except the initial letter
|
||||||
|
|||||||
Reference in New Issue
Block a user