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