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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user