diff --git a/src/components/Form/FormControl/FormControlPath.vue b/src/components/Form/FormControl/FormControlPath.vue index dc933a43c1..4cedd533b8 100644 --- a/src/components/Form/FormControl/FormControlPath.vue +++ b/src/components/Form/FormControl/FormControlPath.vue @@ -31,7 +31,7 @@ const { core } = useCore() const selectedPaths = ref([]) const sourcePath = computed(() => props.path ?? core.getDefaultDataDir()) const display = computed(() => modelValue.value ?? sourcePath.value) -watch(toRef(props, 'projects'), (value) => { +watch(toRef(props, 'projects'), () => { selectedPaths.value = [] })