mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
use ngIf for editor components to maybe help performance
This commit is contained in:
parent
29e9d7d793
commit
48d83e166b
2 changed files with 11 additions and 5 deletions
|
|
@ -78,9 +78,9 @@
|
|||
</app-page-header>
|
||||
|
||||
<div class="w-100 mb-2 mb-sm-4">
|
||||
<app-filter-editor [hidden]="isBulkEditing" [(filterRules)]="list.filterRules" #filterEditor></app-filter-editor>
|
||||
<app-filter-editor *ngIf="!isBulkEditing" [(filterRules)]="list.filterRules" #filterEditor></app-filter-editor>
|
||||
|
||||
<app-bulk-editor [hidden]="!isBulkEditing"
|
||||
<app-bulk-editor *ngIf="isBulkEditing"
|
||||
[viewDocuments]="list.documents"
|
||||
[(selectedDocuments)]="list.selected"
|
||||
(selectPage)="list.selectPage()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue