diff --git a/src/Components/File/File.vue b/src/Components/File/File.vue
index bc35e1c5c8..54911f712e 100644
--- a/src/Components/File/File.vue
+++ b/src/Components/File/File.vue
@@ -15,10 +15,10 @@
@load="backgroundFailed = false">
-
-
{{ filesStore.files.get(currentNodeId).statusText !== 'none' ? filesStore.files.get(currentNodeId).statusText : '' }}
+
+
{{ filesStore.files[currentNodeId].statusText !== 'none' ? filesStore.files[currentNodeId].statusText : '' }}
- {{ filesStore.files.get(currentNodeId).name }}
+ {{ filesStore.files[currentNodeId].name }}
@@ -64,7 +64,7 @@ export default {
return null
}
let previewUrl = ''
- if (this.filesStore.files.get(this.currentNodeId)?.uuid?.length > 0) {
+ if (this.filesStore.files[this.currentNodeId]?.uuid?.length > 0) {
previewUrl = generateOcsUrl('/apps/libresign/api/v1/file/thumbnail/{nodeId}', {
nodeId: this.currentNodeId,
})