1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

PM-5501 - VaultTimeoutSettingsSvc State Provider Migration - Small bugfixes (#9164)

* PM-5501 - VaultTimeoutSettingsSvc - fix setVaultTimeoutOptions condition which needed to use never instead of null.

* PM-5501 - Fix browser and desktop not showing the never lock warning

* PM-5501 - Use true equality.
This commit is contained in:
Jared Snider
2024-05-13 17:04:26 -04:00
committed by GitHub
parent bf57a181eb
commit 66f5d90803
4 changed files with 18 additions and 6 deletions

View File

@@ -371,7 +371,7 @@ export class SettingsComponent implements OnInit {
}
async saveVaultTimeout(newValue: VaultTimeout) {
if (newValue == null) {
if (newValue === VaultTimeoutStringType.Never) {
const confirmed = await this.dialogService.openSimpleDialog({
title: { key: "warning" },
content: { key: "neverLockWarning" },