1
0
mirror of https://github.com/bitwarden/desktop synced 2025-12-22 11:13:17 +00:00

toggle uri options

This commit is contained in:
Kyle Spearrin
2018-03-02 08:15:55 -05:00
parent 72771d4b90
commit 295068a30c
4 changed files with 17 additions and 2 deletions

View File

@@ -256,6 +256,11 @@ export class AddEditComponent implements OnChanges {
f.showValue = !f.showValue;
}
toggleUriOptions(uri: LoginUriView) {
const u = (uri as any);
u.showOptions = !u.showOptions;
}
async checkPassword() {
if (this.cipher.login == null || this.cipher.login.password == null || this.cipher.login.password === '') {
return;