1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

add cipher view types

This commit is contained in:
Kyle Spearrin
2018-01-24 12:20:01 -05:00
parent f2923d9c81
commit 7e89a9ba3d
4 changed files with 13 additions and 13 deletions

View File

@@ -7,15 +7,17 @@ import {
Output,
} from '@angular/core';
import { CipherView } from 'jslib/models/view/cipherView';
@Component({
selector: 'app-vault-ciphers',
template: template,
})
export class CiphersComponent {
@Input() ciphers: any[];
@Output() onCipherClicked = new EventEmitter<any>();
@Input() ciphers: CipherView[];
@Output() onCipherClicked = new EventEmitter<CipherView>();
cipherClicked(cipher: any) {
cipherClicked(cipher: CipherView) {
this.onCipherClicked.emit(cipher);
}
}