diff --git a/src/Components/File/File.vue b/src/Components/File/File.vue index f5f8088a4e..4be34805bb 100644 --- a/src/Components/File/File.vue +++ b/src/Components/File/File.vue @@ -11,10 +11,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 }}

@@ -60,7 +60,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, })