Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Jan 31, 2025
commit 8a34e0552cfe997bc33bb0b9d09e851b16ef9bbb
2 changes: 1 addition & 1 deletion apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default defineComponent({
* @param fileId File to open
*/
handleOpenFile(fileId: number|null) {
if (fileId === null || this.openFileId === fileId) {
if (fileId === null) {
return
}

Expand Down