Fix: notify getting called before it's initialized #160

Merged
jose merged 1 commits from claim-view-error-handling into master 3 days ago
  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