From 55ef35efe1d7e0e3caede2ee14d9c29fbac157f9 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 8 Dec 2025 13:11:32 +0100 Subject: [PATCH] fix(files_sharing): ensure that external section is mounted Make sure the external section is mounted before trying to assign it the node prop. Signed-off-by: Ferdinand Thiessen --- .../SidebarTabExternal/SidebarTabExternalSection.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSection.vue b/apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSection.vue index 22bb461e584..961a617964c 100644 --- a/apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSection.vue +++ b/apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSection.vue @@ -28,6 +28,8 @@ const props = defineProps({ // TOOD: Remove with Vue 3 const sectionElement = ref() watchEffect(() => { - sectionElement.value.node = props.node + if (sectionElement.value) { + sectionElement.value.node = props.node + } })