diff --git a/Services/client/src/components/FileFormWrapper.vue b/Services/client/src/components/FileFormWrapper.vue index e7281f4..f1bf027 100644 --- a/Services/client/src/components/FileFormWrapper.vue +++ b/Services/client/src/components/FileFormWrapper.vue @@ -48,11 +48,11 @@ function triggerFileEdit( fileFormType.value = 'edit' fileFormPath.value = pathname fileFormData.value = { - title: value.title, + title: (value.metadata?.subject as string) ?? value.title, description: value.description, keyword: value.keyword, category: value.category, - author: value.author, + author: (value.metadata?.author as string) ?? value.author, metadata: value.metadata, } fileNameLabel.value = file