fix "No project" duplicating rows, unify no project senitel to null

This commit is contained in:
Gregor Vostrak
2026-05-12 17:02:26 +02:00
parent f926e8fde3
commit d292396dd4
4 changed files with 89 additions and 3 deletions

View File

@@ -123,6 +123,7 @@ const emit = defineEmits<{
:create-project="createProject"
:create-client="createClient"
:organization-billable-rate="organization?.billable_rate ?? null"
:no-project-value="null"
@changed="(p, t) => emit('add-row', p, t)">
<template #trigger>
<Button variant="ghost" size="sm" class="text-text-secondary">

View File

@@ -81,6 +81,7 @@ function hasRunningEntry(dayIndex: number): boolean {
:create-project="createProject"
:create-client="createClient"
:organization-billable-rate="organization?.billable_rate ?? null"
:no-project-value="null"
variant="ghost"
size="sm"
class="w-full" />