Browse Source

Lint fixes

pull/191/head
Jose Olarte III 6 days ago
parent
commit
dde37e73e1
  1. 4
      src/components/UserNameDialog.vue
  2. 4
      src/views/NewEditAccountView.vue

4
src/components/UserNameDialog.vue

@ -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) {

4
src/views/NewEditAccountView.vue

@ -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();
} }

Loading…
Cancel
Save