mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Revert changes to original ciphers-list.component
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -34,6 +34,4 @@ export class CiphersListComponent {
|
|||||||
viewCipher(c: CipherView) {
|
viewCipher(c: CipherView) {
|
||||||
this.onView.emit(c);
|
this.onView.emit(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
async resetPaging() { }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user