Add Euro Symbol as Billable Icon when EUR is the organization currency.

fixes #423
This commit is contained in:
Gregor Vostrak
2026-02-10 12:47:27 +01:00
parent fd012e7c69
commit 215957104f
18 changed files with 94 additions and 46 deletions

View File

@@ -201,7 +201,7 @@ const firstProjectId = computed(() => projects.value[0]?.id ?? '');
<TimeTrackerProjectTaskDropdown
v-model:project="currentTimeEntry.project_id"
v-model:task="currentTimeEntry.task_id"
variant="input"
variant="outline"
:projects="projects"
:tasks="tasks"
:clients="activeClients"
@@ -225,7 +225,7 @@ const firstProjectId = computed(() => projects.value[0]?.id ?? '');
<TimeTrackerProjectTaskDropdown
v-model:project="currentTimeEntry.project_id"
v-model:task="currentTimeEntry.task_id"
variant="input"
variant="outline"
:projects="projects"
:tasks="tasks"
:clients="activeClients"

View File

@@ -103,7 +103,7 @@ async function createTag(name: string) {
<Select v-model="billable" @update:model-value="emit('submit')">
<SelectTrigger
size="small"
size="sm"
variant="outline"
:active="billable !== null"
:show-chevron="false">

View File

@@ -25,7 +25,7 @@ const title = computed(() => {
<template>
<Select v-model="model" @update:model-value="emit('changed')">
<SelectTrigger size="small" :show-chevron="false">
<SelectTrigger size="sm" :show-chevron="false">
<SelectValue class="flex items-center gap-2">
<component :is="icon" class="h-4 text-icon-default" />
<span>{{ title }}</span>