Skip to content

Commit 06d4643

Browse files
committed
fix employees stuck in loading screen because clients are not loading
1 parent 63579f8 commit 06d4643

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solidtime",
3-
"version": "0.0.36",
3+
"version": "0.0.37",
44
"description": "Desktop App for solidtime - the modern open-source time tracker",
55
"main": "./out/main/index.js",
66
"author": "solidtime.io",

src/renderer/src/components/MainTimeEntryTable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const { data: clientsResponse } = useQuery({
9898
enabled: currentOrganizationLoaded,
9999
})
100100
101-
const clients = computed(() => clientsResponse.value?.data)
101+
const clients = computed(() => clientsResponse.value?.data ?? [])
102102
103103
const { data: tasksResponse } = useQuery({
104104
queryKey: ['tasks', currentOrganizationId],

0 commit comments

Comments
 (0)