1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

move groupings, ciphers, and search pipe to jslib

This commit is contained in:
Kyle Spearrin
2018-04-05 11:11:32 -04:00
parent 0adc40ec57
commit 0f2860c716
5 changed files with 14 additions and 187 deletions

View File

@@ -8,8 +8,8 @@
<div class="content">
<ng-container *ngIf="(ciphers | searchCiphers: searchText) as searchedCiphers">
<div class="list" *ngIf="searchedCiphers.length > 0">
<a *ngFor="let c of searchedCiphers" appStopClick (click)="cipherClicked(c)"
(contextmenu)="cipherRightClicked(c)" href="#" title="{{'viewItem' | i18n}}"
<a *ngFor="let c of searchedCiphers" appStopClick (click)="selectCipher(c)"
(contextmenu)="rightClickCipher(c)" href="#" title="{{'viewItem' | i18n}}"
[ngClass]="{'active': c.id === activeCipherId}">
<app-vault-icon [cipher]="c"></app-vault-icon>
<span class="text">