aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-01-27 08:40:55 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-30 14:27:24 +0000
commit27efd04c282fc035b4748e1d2da60de4fd549aa6 (patch)
treedbf02592e4eae15e172d9392fc2c5bc5322b434b
parent1dca8f98aae422a854db4563a64189aa6fce2a61 (diff)
downloadnextcloud-server-27efd04c282fc035b4748e1d2da60de4fd549aa6.tar.gz
nextcloud-server-27efd04c282fc035b4748e1d2da60de4fd549aa6.zip
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
-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
}