feat: complete batch 5 components migration to active identity façade

- Update GiftedDetailsView, QuickActionBvcEndView, DiscoverView
- Replace settings.activeDid with () façade method
- Add consistent migration comments for future reference
- Complete Batch 5 with 5 total components migrated

Batch 5 completes migration of 5 additional components
with various usage patterns and complexity levels.
This commit is contained in:
Matthew Raymer
2025-08-22 10:54:47 +00:00
parent bdac9e0da3
commit 80a76dadb7
3 changed files with 6 additions and 3 deletions

View File

@@ -407,7 +407,8 @@ export default class DiscoverView extends Vue {
const searchPeople = !!this.$route.query["searchPeople"];
const settings = await this.$accountSettings();
this.activeDid = (settings.activeDid as string) || "";
// Use new Active Identity façade instead of settings.activeDid
this.activeDid = (await this.$getActiveDid()) || "";
this.apiServer = (settings.apiServer as string) || "";
this.partnerApiServer =
(settings.partnerApiServer as string) || this.partnerApiServer;

View File

@@ -441,7 +441,8 @@ export default class GiftedDetails extends Vue {
const settings = await this.$accountSettings();
this.apiServer = settings.apiServer || "";
this.activeDid = settings.activeDid || "";
// Use new Active Identity façade instead of settings.activeDid
this.activeDid = (await this.$getActiveDid()) || "";
if (
(this.giverDid && !this.giverName) ||

View File

@@ -227,7 +227,8 @@ export default class QuickActionBvcEndView extends Vue {
const settings = await this.$settings();
this.apiServer = settings.apiServer || "";
this.activeDid = settings.activeDid || "";
// Use new Active Identity façade instead of settings.activeDid
this.activeDid = (await this.$getActiveDid()) || "";
this.allContacts = await this.$contacts();