Skip to content

Commit 4fd2a8e

Browse files
christian-huehn-mwclaude
authored andcommitted
fix(visualization): revert filePanelFileSelector track expression change
The track-by-fileName change caused an e2e test failure in uploadFilesButton because mat-select value binding relies on object identity. Reverting to original track-by-identity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 006e1b5 commit 4fd2a8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

visualization/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<button class="cc-file-select-action-button" (click)="handleSelectZeroFiles()">None</button>
1313
<button class="cc-file-select-action-button" (click)="handleInvertSelectedFiles()">Invert</button>
1414
</div>
15-
@for (file of filesInUI; track file.file.fileMeta.fileName) {
15+
@for (file of filesInUI; track file) {
1616
<mat-option class="cc-file-name" [value]="file.file" [ngStyle]="{ 'text-decoration': file.isRemoved ? 'line-through' : 'none' }">
1717
{{ file.file.fileMeta.fileName | removeExtension }}
1818
<cc-remove-file-button

0 commit comments

Comments
 (0)