mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 19:22:14 +01:00
make client deselectable for projects, fixes #333
This commit is contained in:
@@ -26,10 +26,12 @@ const createClient = ref(false);
|
||||
<ClientTableHeading></ClientTableHeading>
|
||||
<div
|
||||
v-if="clients.length === 0"
|
||||
class="col-span-2 py-24 text-center">
|
||||
class="col-span-3 py-24 text-center">
|
||||
<UserCircleIcon
|
||||
class="w-8 text-icon-default inline pb-2"></UserCircleIcon>
|
||||
<h3 class="text-text-primary font-semibold">No clients found</h3>
|
||||
<h3 class="text-text-primary font-semibold">
|
||||
No clients found
|
||||
</h3>
|
||||
<p v-if="canCreateClients()" class="pb-5">
|
||||
Create your first client now!
|
||||
</p>
|
||||
|
||||
@@ -28,8 +28,10 @@ const activeClass = computed(() => {
|
||||
activeClass
|
||||
)
|
||||
">
|
||||
<component :is="icon" class="-ml-0.5 h-4 w-4 text-text-quaternary"></component>
|
||||
<span> {{ title }} </span>
|
||||
<component
|
||||
:is="icon"
|
||||
class="-ml-0.5 h-4 w-4 text-text-quaternary"></component>
|
||||
<span class="text-nowrap"> {{ title }} </span>
|
||||
<div
|
||||
v-if="count"
|
||||
class="bg-accent-300/20 w-5 h-5 font-medium rounded flex items-center transition justify-center">
|
||||
|
||||
Reference in New Issue
Block a user