Browse Source

Fix: notify getting called before it's initialized

- Initialize notify earlier inside created()
pull/160/head
Jose Olarte III 6 days ago
parent
commit
c969c536bf
  1. 4
      src/views/ClaimView.vue

4
src/views/ClaimView.vue

@ -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

Loading…
Cancel
Save