forked from trent_larson/crowd-funder-for-time-pwa
Fix HomeView registration status detection for imported users
- Change loadSettings() to use $accountSettings() instead of $settings() - Ensures DID-specific settings like isRegistered are properly loaded - Fixes issue where imported registered users still showed "Show them identifier" dialog - Maintains proper settings merging for account-specific overrides
This commit is contained in:
@@ -690,8 +690,17 @@ export default class HomeView extends Vue {
|
||||
* Called by mounted() and reloadFeedOnChange()
|
||||
*/
|
||||
private async loadSettings() {
|
||||
// Ultra-concise settings loading with defaults!
|
||||
const settings = await this.$settings({
|
||||
// First get the active DID from master settings
|
||||
const masterSettings = await this.$settings({
|
||||
apiServer: "",
|
||||
activeDid: "",
|
||||
filterFeedByVisible: false,
|
||||
filterFeedByNearby: false,
|
||||
isRegistered: false,
|
||||
});
|
||||
|
||||
// Then get the full merged settings including account-specific overrides
|
||||
const settings = await this.$accountSettings(masterSettings.activeDid, {
|
||||
apiServer: "",
|
||||
activeDid: "",
|
||||
filterFeedByVisible: false,
|
||||
|
||||
Reference in New Issue
Block a user