chore: fix getting vault method (#2547)
* chore: fix getting vault method * remove only attribute * fix checking for vaults * fix expected missing vaults
This commit is contained in:
@@ -222,9 +222,10 @@ export class VaultDisplayService
|
||||
}
|
||||
|
||||
if (this.isInExclusiveDisplayMode()) {
|
||||
this.exclusivelyShownVault = this.application.vaults.getVault({
|
||||
const vaultOrError = this.application.vaults.getVault({
|
||||
keySystemIdentifier: this.options.getExclusivelyShownVault(),
|
||||
})
|
||||
this.exclusivelyShownVault = vaultOrError.isFailed() ? undefined : vaultOrError.getValue()
|
||||
} else {
|
||||
this.exclusivelyShownVault = undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user