mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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 <opensource@fthiessen.de>
This commit is contained in:
parent
2348d99cb5
commit
55ef35efe1
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue