Skip to content

Commit fcd1a0b

Browse files
committed
refactor: update FilesListTableHeaderActions to use nodeId in forEach loop
- Replace fileId with nodeId in changeLoadingStatusOfSelectedFiles method - Update variable naming for consistency Signed-off-by: Vitor Mattos <[email protected]>
1 parent e64e764 commit fcd1a0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/FilesList/FilesListTableHeaderActions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ export default {
176176
}
177177
},
178178
changeLoadingStatusOfSelectedFiles(status) {
179-
this.selectionStore.selected.forEach(fileId => {
180-
this.filesStore.files[fileId].loading = status
179+
this.selectionStore.selected.forEach(nodeId => {
180+
this.filesStore.files[nodeId].loading = status
181181
})
182182
},
183183
},

0 commit comments

Comments
 (0)