chore: vaults improvements

This commit is contained in:
Aman Harwara
2023-08-07 18:38:57 +05:30
parent 0a51034b80
commit 1585d6b8ca
7 changed files with 33 additions and 15 deletions

View File

@@ -29,7 +29,10 @@ export class PreferencesController extends AbstractViewController {
this.currentPane = prefId
}
openPreferences = (): void => {
openPreferences = (prefId?: PreferenceId): void => {
if (prefId) {
this.currentPane = prefId
}
this._open = true
}