Skip to content

Commit 4aede1b

Browse files
committed
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <[email protected]>
1 parent af8189f commit 4aede1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/src/components/FilesListVirtual.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export default defineComponent({
330330
* @param fileId File to open
331331
*/
332332
handleOpenFile(fileId: number|null) {
333-
if (fileId === null || this.openFileId === fileId) {
333+
if (fileId === null) {
334334
return
335335
}
336336

0 commit comments

Comments
 (0)