Revert changes to original ciphers-list.component

This commit is contained in:
Thomas Rittson 2021-05-21 12:58:48 +10:00
parent 811e0072e1
commit 8151d5bcac
2 changed files with 22 additions and 26 deletions

View File

@ -1,25 +1,23 @@
<cdk-virtual-scroll-viewport itemSize="46"> <a *ngFor="let c of ciphers" (click)="selectCipher(c)" (dblclick)="launchCipher(c)" href="#" appStopClick
<a *cdkVirtualFor="let c of ciphers" (click)="selectCipher(c)" (dblclick)="launchCipher(c)" href="#" appStopClick title="{{title}} - {{c.name}}" class="box-content-row box-content-row-flex">
title="{{title}} - {{c.name}}" class="box-content-row box-content-row-flex"> <div class="row-main">
<div class="row-main"> <app-vault-icon [cipher]="c"></app-vault-icon>
<app-vault-icon [cipher]="c"></app-vault-icon> <div class="row-main-content">
<div class="row-main-content"> <span class="text">
<span class="text"> {{c.name}}
{{c.name}} <ng-container *ngIf="c.organizationId">
<ng-container *ngIf="c.organizationId"> <i class="fa fa-share-alt text-muted" title="{{'shared' | i18n}}" aria-hidden="true"></i>
<i class="fa fa-share-alt text-muted" title="{{'shared' | i18n}}" aria-hidden="true"></i> <span class="sr-only">{{'shared' | i18n}}</span>
<span class="sr-only">{{'shared' | i18n}}</span> </ng-container>
</ng-container> <ng-container *ngIf="c.hasAttachments">
<ng-container *ngIf="c.hasAttachments"> <i class="fa fa-paperclip text-muted" title="{{'attachments' | i18n}}" aria-hidden="true"></i>
<i class="fa fa-paperclip text-muted" title="{{'attachments' | i18n}}" aria-hidden="true"></i> <span class="sr-only">{{'attachments' | i18n}}</span>
<span class="sr-only">{{'attachments' | i18n}}</span> </ng-container>
</ng-container> </span>
</span> <span class="detail">{{c.subTitle}}</span>
<span class="detail">{{c.subTitle}}</span>
</div>
</div> </div>
<app-action-buttons [cipher]="c" [showView]="showView" (onView)="viewCipher(c)" (launchEvent)="launchCipher(c)" </div>
class="action-buttons"> <app-action-buttons [cipher]="c" [showView]="showView" (onView)="viewCipher(c)" (launchEvent)="launchCipher(c)"
</app-action-buttons> class="action-buttons">
</a> </app-action-buttons>
</cdk-virtual-scroll-viewport> </a>

View File

@ -34,6 +34,4 @@ export class CiphersListComponent {
viewCipher(c: CipherView) { viewCipher(c: CipherView) {
this.onView.emit(c); this.onView.emit(c);
} }
async resetPaging() { }
} }