mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 20:52:14 +01:00
invalidate time entries on time tracker stop, fix task text overflow dashboard
This commit is contained in:
@@ -55,8 +55,8 @@ async function startTaskTimer() {
|
|||||||
</p>
|
</p>
|
||||||
<ProjectBadge
|
<ProjectBadge
|
||||||
size="base"
|
size="base"
|
||||||
|
class="min-w-0 max-w-full"
|
||||||
:color="project?.color">
|
:color="project?.color">
|
||||||
|
|
||||||
<div class="flex items-center lg:space-x-0.5 min-w-0">
|
<div class="flex items-center lg:space-x-0.5 min-w-0">
|
||||||
<span class="whitespace-nowrap ">
|
<span class="whitespace-nowrap ">
|
||||||
{{ project?.name ?? 'No Project' }}
|
{{ project?.name ?? 'No Project' }}
|
||||||
@@ -70,7 +70,6 @@ async function startTaskTimer() {
|
|||||||
{{ task.name }}
|
{{ task.name }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ProjectBadge>
|
</ProjectBadge>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center justify-center">
|
<div class="flex items-center justify-center">
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ const refreshDashboardData = () => {
|
|||||||
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableTime"] });
|
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableTime"] });
|
||||||
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableAmount"] });
|
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableAmount"] });
|
||||||
queryClient.invalidateQueries({ queryKey: ["weeklyHistory"] });
|
queryClient.invalidateQueries({ queryKey: ["weeklyHistory"] });
|
||||||
|
queryClient.invalidateQueries({ queryKey: ["timeEntries"] });
|
||||||
};
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user