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

updates to status command and add hidePasswords (#146)

* a few updates to the recent status addition

* add hidePasswords functionality
This commit is contained in:
Kyle Spearrin
2020-06-17 11:01:34 -04:00
committed by GitHub
parent 62c7c30cb4
commit 72c56ca506
7 changed files with 25 additions and 23 deletions

View File

@@ -1,13 +1,15 @@
export class SelectionReadOnly {
static template(): SelectionReadOnly {
return new SelectionReadOnly('00000000-0000-0000-0000-000000000000', false);
return new SelectionReadOnly('00000000-0000-0000-0000-000000000000', false, false);
}
id: string;
readOnly: boolean;
hidePasswords: boolean;
constructor(id: string, readOnly: boolean) {
constructor(id: string, readOnly: boolean, hidePasswords: boolean) {
this.id = id;
this.readOnly = readOnly;
this.hidePasswords = hidePasswords || false;
}
}