mirror of
https://github.com/bitwarden/desktop
synced 2025-12-25 20:53:14 +00:00
* Use cdk-virtual-scroll for cipher lists * add trackBy, reorder dom * Undo merge conflict error * Fix layout, increase scrolling buffer * fix linting * Remove unused infinite-scroll directives for Send * Add back refresh method * Update jslib * Fix itemSize and min/maxBufferPx directives * Move refresh() into base class * Use cipherListVirtualScroll strategy * fix linting * Update to use latest virtual-scroll strategy * Update jslib
16 lines
445 B
TypeScript
16 lines
445 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
import { CiphersComponent as BaseCiphersComponent } from 'jslib-angular/components/ciphers.component';
|
|
|
|
import { CipherView } from 'jslib-common/models/view/cipherView';
|
|
|
|
@Component({
|
|
selector: 'app-vault-ciphers',
|
|
templateUrl: 'ciphers.component.html',
|
|
})
|
|
export class CiphersComponent extends BaseCiphersComponent {
|
|
trackByFn(index: number, c: CipherView) {
|
|
return c.id;
|
|
}
|
|
}
|