forked from trent_larson/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:
@@ -219,9 +219,13 @@ export default class GiftedDialog extends Vue {
|
||||
this.stepType = "giver";
|
||||
|
||||
try {
|
||||
const settings = await this.$settings();
|
||||
const settings = await this.$accountSettings();
|
||||
this.apiServer = settings.apiServer || "";
|
||||
this.activeDid = settings.activeDid || "";
|
||||
logger.info("[GiftedDialog] Settings received:", {
|
||||
activeDid: this.activeDid,
|
||||
apiServer: this.apiServer,
|
||||
});
|
||||
|
||||
this.allContacts = await this.$contacts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user