forked from jsnbuchanan/crowd-funder-for-time-pwa
refactor: update components for ActiveDid migration compatibility
- Update all components to use new active_identity API methods - Ensure consistent activeDid retrieval across all views - Add proper error handling for activeDid migration - Update component interfaces for new API structure
This commit is contained in:
@@ -75,7 +75,7 @@ export default class ShareMyContactInfoView extends Vue {
|
||||
isLoading = false;
|
||||
|
||||
async mounted() {
|
||||
const settings = await this.$settings();
|
||||
const settings = await this.$accountSettings();
|
||||
const activeDid = settings?.activeDid;
|
||||
if (!activeDid) {
|
||||
this.$router.push({ name: "home" });
|
||||
@@ -90,7 +90,7 @@ export default class ShareMyContactInfoView extends Vue {
|
||||
this.isLoading = true;
|
||||
|
||||
try {
|
||||
const settings = await this.$settings();
|
||||
const settings = await this.$accountSettings();
|
||||
const account = await this.retrieveAccount(settings);
|
||||
|
||||
if (!account) {
|
||||
|
||||
Reference in New Issue
Block a user