feat: complete ActiveDid migration for remaining Vue components
Replace `settings.activeDid` with `$getActiveIdentity()` API call across 8 components. All Vue components now use the new active_identity table pattern. Components migrated: - TestView.vue: Update logging to use new pattern consistently - ShareMyContactInfoView.vue: Refactor retrieveAccount method signature - UserNameDialog.vue: Update user settings save logic - SeedBackupView.vue: Update both created() and revealSeed() methods - HelpView.vue: Update onboarding reset functionality - ImportAccountView.vue: Update post-import settings check - NewEditAccountView.vue: Update account save logic - QuickActionBvcBeginView.vue: Update BVC recording functionality ✅ TypeScript compilation passes ✅ Linting standards met ✅ Functionality preserved across all components Part of ActiveDid migration following "One Component + Test Pattern". All Vue components now use centralized active_identity table.
This commit is contained in:
@@ -110,9 +110,9 @@ export default class NewEditAccountView extends Vue {
|
||||
* @async
|
||||
*/
|
||||
async onClickSaveChanges() {
|
||||
// Get the current active DID to save to user-specific settings
|
||||
const settings = await this.$accountSettings();
|
||||
const activeDid = settings.activeDid;
|
||||
// Get activeDid from new active_identity table (ActiveDid migration)
|
||||
const activeIdentity = await this.$getActiveIdentity();
|
||||
const activeDid = activeIdentity.activeDid;
|
||||
|
||||
if (activeDid) {
|
||||
// Save to user-specific settings for the current identity
|
||||
|
||||
Reference in New Issue
Block a user