File tree Expand file tree Collapse file tree
src/views/FilesList/FileEntry Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ export default {
5757 return this .selectionStore .selected
5858 },
5959 isSelected () {
60- return this .selectedFiles .includes (this .source .id )
60+ return this .selectedFiles .includes (this .source .nodeId )
6161 },
6262 index () {
63- return this .filesStore .ordered .findIndex (fileId => Number (fileId ) === this .source .id )
63+ return this .filesStore .ordered .findIndex (nodeId => Number (nodeId ) === this .source .nodeId )
6464 },
6565 ariaLabel () {
6666 return t (' libresign' , ' Toggle selection for file "{displayName}"' , { displayName: this .source .basename })
@@ -77,7 +77,7 @@ export default {
7777
7878 // Get the last selected and select all files in between
7979 if (this .keyboardStore ? .shiftKey && lastSelectedIndex !== null ) {
80- const isAlreadySelected = this .selectedFiles .includes (this .source .id )
80+ const isAlreadySelected = this .selectedFiles .includes (this .source .nodeId )
8181
8282 const start = Math .min (newSelectedIndex, lastSelectedIndex)
8383 const end = Math .max (lastSelectedIndex, newSelectedIndex)
You can’t perform that action at this time.
0 commit comments