diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index eb99665c..ff8c4b8a 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -1035,7 +1035,8 @@ export default class AccountViewView extends Vue { // Then get the account-specific settings const settings: AccountSettings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; this.apiServerInput = settings.apiServer || ""; this.givenName = diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index f594dc9b..0626f993 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -728,7 +728,8 @@ export default class ClaimView extends Vue { const settings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; this.allContacts = await this.$contacts(); diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 6c670f26..676ad8bd 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -295,7 +295,8 @@ export default class ContactsView extends Vue { this.notify = createNotifyHelpers(this.$notify); const settings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; this.isRegistered = !!settings.isRegistered; diff --git a/src/views/DIDView.vue b/src/views/DIDView.vue index a6212ece..1e24a495 100644 --- a/src/views/DIDView.vue +++ b/src/views/DIDView.vue @@ -373,7 +373,8 @@ export default class DIDView extends Vue { */ private async initializeSettings() { const settings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; } diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index acc6e467..103d59c4 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -386,7 +386,8 @@ export default class ProjectsView extends Vue { */ private async initializeUserSettings() { const settings = await this.$accountSettings(); - this.activeDid = settings.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings.apiServer || ""; this.isRegistered = !!settings.isRegistered; this.givenName = settings.firstName || "";