Lint fixes

This commit is contained in:
Jose Olarte III
2025-08-29 16:41:46 +08:00
parent 83c0c18db2
commit dde37e73e1
2 changed files with 4 additions and 4 deletions

View File

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

View File

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