1
0
mirror of https://github.com/bitwarden/desktop synced 2026-01-05 01:53:32 +00:00
Files
desktop/src/app/vault/ciphers.component.ts
Kyle Spearrin f2923d9c81 lint fixes
2018-01-24 09:26:59 -05:00

22 lines
423 B
TypeScript

import * as template from './ciphers.component.html';
import {
Component,
EventEmitter,
Input,
Output,
} from '@angular/core';
@Component({
selector: 'app-vault-ciphers',
template: template,
})
export class CiphersComponent {
@Input() ciphers: any[];
@Output() onCipherClicked = new EventEmitter<any>();
cipherClicked(cipher: any) {
this.onCipherClicked.emit(cipher);
}
}