diff --git a/frontend/components/time-tracking/TimeTrackingExportDrawer.vue b/frontend/components/time-tracking/TimeTrackingExportDrawer.vue index 15edfdd..0270182 100644 --- a/frontend/components/time-tracking/TimeTrackingExportDrawer.vue +++ b/frontend/components/time-tracking/TimeTrackingExportDrawer.vue @@ -140,11 +140,11 @@ const selectedProjectIds = ref([]) const selectedTagIds = ref([]) const userOptions = computed(() => - props.users.map(u => ({ text: u.username, value: u.id })) + props.users.map(u => ({ label: u.username, value: u.id })) ) const clientOptions = computed(() => - props.clients.map(c => ({ text: c.name, value: c.id })) + props.clients.map(c => ({ label: c.name, value: c.id })) ) const filteredProjectOptions = computed(() => { @@ -152,11 +152,11 @@ const filteredProjectOptions = computed(() => { if (selectedClientId.value) { list = list.filter(p => p.client?.id === selectedClientId.value) } - return list.map(p => ({ text: p.name, value: p.id })) + return list.map(p => ({ label: p.name, value: p.id })) }) const tagOptions = computed(() => - props.tags.map(t => ({ text: t.label, value: t.id })) + props.tags.map(t => ({ label: t.label, value: t.id })) ) // Reset project selection when client changes