mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
refactor: update file-uploading-list template to track file IDs
- Modified the file-uploading-list.component.html to track file IDs instead of file objects for improved performance and clarity in rendering.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="upload-list">
|
||||
@for (file of files; track file) {
|
||||
@for (file of files; track file.id) {
|
||||
<ng-template
|
||||
[ngTemplateOutlet]="template"
|
||||
[ngTemplateOutletContext]="{ $implicit: file }" />
|
||||
|
||||
Reference in New Issue
Block a user