mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
1dca8f98aa
commit
27efd04c28
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