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:
@@ -150,7 +150,11 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
|
||||
// Get account settings using PlatformServiceMixin
|
||||
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 || "";
|
||||
|
||||
const apiServer = settings.apiServer || "";
|
||||
|
||||
if (!activeDid || !apiServer) {
|
||||
|
||||
Reference in New Issue
Block a user