mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 01:32:16 +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>
|
||||
<ProjectBadge
|
||||
size="base"
|
||||
class="min-w-0 max-w-full"
|
||||
:color="project?.color">
|
||||
|
||||
<div class="flex items-center lg:space-x-0.5 min-w-0">
|
||||
<span class="whitespace-nowrap ">
|
||||
{{ project?.name ?? 'No Project' }}
|
||||
@@ -70,7 +70,6 @@ async function startTaskTimer() {
|
||||
{{ task.name }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</ProjectBadge>
|
||||
</div>
|
||||
<div class="flex items-center justify-center">
|
||||
|
||||
@@ -23,6 +23,7 @@ const refreshDashboardData = () => {
|
||||
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableTime"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["totalWeeklyBillableAmount"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["weeklyHistory"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["timeEntries"] });
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user