forked from jsnbuchanan/crowd-funder-for-time-pwa
fix(platform): remove auto-fix identity selection and fix feed loading race condition
- Remove problematic $ensureActiveIdentityPopulated() that auto-selected identities - Add user-friendly $needsActiveIdentitySelection() and $getAvailableAccountDids() methods - Fix missing updateActiveDid implementation in CapacitorPlatformService - Resolve race condition in HomeView initialization causing feed loading failures - Improve TypeScript error handling in ContactsView invite processing Addresses team concerns about data consistency and user control for identity selection.
This commit is contained in:
@@ -478,7 +478,7 @@ export default class HomeView extends Vue {
|
||||
|
||||
await this.initializeIdentity();
|
||||
// Settings already loaded in initializeIdentity()
|
||||
await this.loadContacts();
|
||||
// Contacts already loaded in initializeIdentity()
|
||||
// Registration check already handled in initializeIdentity()
|
||||
await this.loadFeedData();
|
||||
|
||||
@@ -600,7 +600,7 @@ export default class HomeView extends Vue {
|
||||
|
||||
// Load contacts with graceful fallback
|
||||
try {
|
||||
this.loadContacts();
|
||||
await this.loadContacts();
|
||||
} catch (error) {
|
||||
this.$logAndConsole(
|
||||
`[HomeView] Failed to retrieve contacts: ${error}`,
|
||||
|
||||
Reference in New Issue
Block a user