feat: migrate phase 1 critical identity components to active identity façade

- Update ClaimAddRawView, HomeView, IdentitySwitcherView, ImportDerivedAccountView
- Replace settings.activeDid access with () façade method
- Update switchAccount to switchIdentity using
- Add legacy fallback support for backward compatibility
- Ensure proper error handling and logging

Phase 1 completes migration of 12 critical identity-related
components to use the new Active Identity system.
This commit is contained in:
Matthew Raymer
2025-08-22 10:39:32 +00:00
parent e172faaaf2
commit 09e6a7107a
4 changed files with 70 additions and 44 deletions

View File

@@ -538,7 +538,8 @@ export default class HomeView extends Vue {
// **CRITICAL**: Ensure correct API server for platform
await this.ensureCorrectApiServer();
this.activeDid = settings.activeDid || "";
// Use new façade method with legacy fallback
this.activeDid = (await this.$getActiveDid()) || "";
// Load contacts with graceful fallback
try {