1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00
This commit is contained in:
Kyle Spearrin
2018-06-12 11:46:11 -04:00
parent 85fd36f5c3
commit edef3f90f1
13 changed files with 229 additions and 23 deletions

View File

@@ -23,6 +23,8 @@ import { CipherView } from 'jslib/models/view/cipherView';
})
export class CiphersComponent extends BaseCiphersComponent {
@Output() onAttachmentsClicked = new EventEmitter<CipherView>();
@Output() onShareClicked = new EventEmitter<CipherView>();
@Output() onCollectionsClicked = new EventEmitter<CipherView>();
cipherType = CipherType;
constructor(cipherService: CipherService, private analytics: Angulartics2,
@@ -40,11 +42,11 @@ export class CiphersComponent extends BaseCiphersComponent {
}
share(c: CipherView) {
//
this.onShareClicked.emit(c);
}
collections(c: CipherView) {
//
this.onCollectionsClicked.emit(c);
}
delete(c: CipherView) {