refactor timetracker to seperate data and ui logic

This commit is contained in:
Gregor Vostrak
2024-07-22 17:56:51 +02:00
parent a9c874e540
commit 06fef6e40f
41 changed files with 1984 additions and 961 deletions

View File

@@ -32,9 +32,12 @@ const indicatorClasses = {
<div
:style="{ backgroundColor: props.color }"
:class="
twMerge(indicatorClasses[size], 'inline-block rounded-full')
twMerge(
indicatorClasses[size],
'inline-block rounded-full shrink-0'
)
"></div>
<div>
<div class="min-w-0">
<slot>
{{ name }}
</slot>