mirror of
https://github.com/nextcloud/server.git
synced 2026-03-25 11:54:59 -04:00
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
af8189f820
commit
4aede1b43d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue