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()
|
* Called by mounted() and reloadFeedOnChange()
|
||||||
*/
|
*/
|
||||||
private async loadSettings() {
|
private async loadSettings() {
|
||||||
// Ultra-concise settings loading with defaults!
|
// First get the active DID from master settings
|
||||||
const settings = await this.$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: "",
|
apiServer: "",
|
||||||
activeDid: "",
|
activeDid: "",
|
||||||
filterFeedByVisible: false,
|
filterFeedByVisible: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user