feat(db)!: complete ActiveDid migration to active_identity table
Migrate all 34 Vue components from settings.activeDid to $getActiveIdentity() pattern. This completes the database architecture improvement that separates identity selection from user preferences and prevents data corruption. - Replace this.activeDid = settings.activeDid with $getActiveIdentity() calls - Add ESLint ignore comments for TypeScript type assertions - Update migration plan documentation to reflect completion - All components tested with passing results BREAKING CHANGE: Components now use active_identity table as single source of truth for activeDid values instead of settings table
This commit is contained in:
@@ -652,7 +652,12 @@ export default class Help extends Vue {
|
||||
});
|
||||
|
||||
// Update component state
|
||||
this.activeDid = settings.activeDid || "";
|
||||
|
||||
// Get activeDid from active_identity table (single source of truth)
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const activeIdentity = await (this as any).$getActiveIdentity();
|
||||
this.activeDid = activeIdentity.activeDid || "";
|
||||
|
||||
this.apiServer = settings.apiServer || "";
|
||||
this.partnerApiServer = settings.partnerApiServer || "";
|
||||
this.userName = settings.firstName;
|
||||
|
||||
Reference in New Issue
Block a user