1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

double click to launch cipher

This commit is contained in:
Kyle Spearrin
2018-04-10 23:28:50 -04:00
parent 2ad34c5119
commit 1e1aca2db3
6 changed files with 82 additions and 12 deletions

View File

@@ -25,6 +25,7 @@ import { PopupUtilsService } from '../services/popup-utils.service';
})
export class CiphersListComponent {
@Output() onSelected = new EventEmitter<CipherView>();
@Output() onDoubleSelected = new EventEmitter<CipherView>();
@Output() onView = new EventEmitter<CipherView>();
@Input() ciphers: CipherView[];
@Input() showView = false;
@@ -38,6 +39,10 @@ export class CiphersListComponent {
this.onSelected.emit(c);
}
doubleSelectCipher(c: CipherView) {
this.onDoubleSelected.emit(c);
}
viewCipher(c: CipherView) {
this.onView.emit(c);
}