aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-01-27 08:40:55 +0100
committerprovokateurin <kate@provokateurin.de>2025-01-30 13:53:53 +0100
commit4aede1b43d13faba36648f42e608096c758e0000 (patch)
treefbb37094101106f8720113d9b06779962c7862a6 /apps/files/src
parentaf8189f820da03a574608fb81225cbf7e97de949 (diff)
downloadnextcloud-server-4aede1b43d13faba36648f42e608096c758e0000.tar.gz
nextcloud-server-4aede1b43d13faba36648f42e608096c758e0000.zip
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files/src')
-rw-r--r--apps/files/src/components/FilesListVirtual.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue
index 6df059f6143..2442dd98190 100644
--- a/apps/files/src/components/FilesListVirtual.vue
+++ b/apps/files/src/components/FilesListVirtual.vue
@@ -330,7 +330,7 @@ export default defineComponent({
* @param fileId File to open
*/
handleOpenFile(fileId: number|null) {
- if (fileId === null || this.openFileId === fileId) {
+ if (fileId === null) {
return
}