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 + } })