mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
refactor: update category tracking in categories management component
- Changed the tracking mechanism in the categories loop from category to category.id for improved performance and accuracy.
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
}
|
||||
@if (categories && categories.length > 0) {
|
||||
<div class="adf-categories-list" [class.adf-categories-list-fixed]="!categoryNameControlVisible">
|
||||
@for (category of categories; track category) {
|
||||
@for (category of categories; track category.id) {
|
||||
<span
|
||||
[class.adf-categories-padded]="!isCRUDMode"
|
||||
class="adf-assigned-categories">
|
||||
|
||||
Reference in New Issue
Block a user