mirror of
https://github.com/nextcloud/server.git
synced 2026-02-24 02:11:51 -05:00
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
67f417b7ee
commit
8a34e0552c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue