Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/FilesAppIntegration.js')
-rw-r--r--src/view/FilesAppIntegration.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js
index da5c0a8f..993a836f 100644
--- a/src/view/FilesAppIntegration.js
+++ b/src/view/FilesAppIntegration.js
@@ -119,6 +119,9 @@ export default {
if (this.fileModel !== null) {
return this.fileModel
}
+ if (!this.getFileList()) {
+ return null
+ }
this.getFileList()._updateDetailsView(this.fileName, false)
this.fileModel = this.getFileList().getModelForFile(this.fileName)