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
|
// Get the current active DID to save to user-specific settings
|
||||||
const settings = await this.$accountSettings();
|
const settings = await this.$accountSettings();
|
||||||
const activeDid = settings.activeDid;
|
const activeDid = settings.activeDid;
|
||||||
|
|
||||||
if (activeDid) {
|
if (activeDid) {
|
||||||
// Save to user-specific settings for the current identity
|
// Save to user-specific settings for the current identity
|
||||||
await this.$saveUserSettings(activeDid, { firstName: this.givenName });
|
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
|
// Fallback to master settings if no active DID
|
||||||
await this.$saveSettings({ firstName: this.givenName });
|
await this.$saveSettings({ firstName: this.givenName });
|
||||||
}
|
}
|
||||||
|
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.callback(this.givenName);
|
this.callback(this.givenName);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ export default class NewEditAccountView extends Vue {
|
|||||||
// Get the current active DID to save to user-specific settings
|
// Get the current active DID to save to user-specific settings
|
||||||
const settings = await this.$accountSettings();
|
const settings = await this.$accountSettings();
|
||||||
const activeDid = settings.activeDid;
|
const activeDid = settings.activeDid;
|
||||||
|
|
||||||
if (activeDid) {
|
if (activeDid) {
|
||||||
// Save to user-specific settings for the current identity
|
// Save to user-specific settings for the current identity
|
||||||
await this.$saveUserSettings(activeDid, {
|
await this.$saveUserSettings(activeDid, {
|
||||||
@@ -127,7 +127,7 @@ export default class NewEditAccountView extends Vue {
|
|||||||
lastName: "", // deprecated, pre v 0.1.3
|
lastName: "", // deprecated, pre v 0.1.3
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$router.back();
|
this.$router.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user