From 070b83f1271c570432db307700f8e03b538f8b9f Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 15 Jul 2025 11:35:33 +0200 Subject: [PATCH] fix(richworkspace): load after mounted. Get file info when hasRichworkspace turns true. The render function in `FilesWorkspaceHeader` runs with `hasRichWorkspace` false and mounts the Component. Then the update function runs with `hasRichWorkspace` true. Now the component needs to load the workspace. Signed-off-by: Max --- src/views/RichWorkspace.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/RichWorkspace.vue b/src/views/RichWorkspace.vue index dd023a883d2..5564ba12dda 100644 --- a/src/views/RichWorkspace.vue +++ b/src/views/RichWorkspace.vue @@ -95,6 +95,9 @@ export default { }, hasRichWorkspace(value) { this.localHasRichWorkspace = value + if (value) { + this.getFileInfo() + } }, }, mounted() {