forked from trent_larson/crowd-funder-for-time-pwa
Lint fixes
This commit is contained in:
@@ -99,7 +99,7 @@ export default class UserNameDialog extends Vue {
|
||||
// Get the current active DID to save to user-specific settings
|
||||
const settings = await this.$accountSettings();
|
||||
const activeDid = settings.activeDid;
|
||||
|
||||
|
||||
if (activeDid) {
|
||||
// Save to user-specific settings for the current identity
|
||||
await this.$saveUserSettings(activeDid, { firstName: this.givenName });
|
||||
@@ -107,7 +107,7 @@ export default class UserNameDialog extends Vue {
|
||||
// Fallback to master settings if no active DID
|
||||
await this.$saveSettings({ firstName: this.givenName });
|
||||
}
|
||||
|
||||
|
||||
this.visible = false;
|
||||
this.callback(this.givenName);
|
||||
} catch (error) {
|
||||
|
||||
@@ -113,7 +113,7 @@ export default class NewEditAccountView extends Vue {
|
||||
// Get the current active DID to save to user-specific settings
|
||||
const settings = await this.$accountSettings();
|
||||
const activeDid = settings.activeDid;
|
||||
|
||||
|
||||
if (activeDid) {
|
||||
// Save to user-specific settings for the current identity
|
||||
await this.$saveUserSettings(activeDid, {
|
||||
@@ -127,7 +127,7 @@ export default class NewEditAccountView extends Vue {
|
||||
lastName: "", // deprecated, pre v 0.1.3
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
this.$router.back();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user