From f21d20bde3ef8336da151c6cfdbab96eb5bd4652 Mon Sep 17 00:00:00 2001 From: Caroline Desprat Date: Thu, 30 Jan 2025 15:03:37 +0000 Subject: [PATCH] refactor: remove unused param --- src/components/Form/FormControl/FormControlPath.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] })