1
0

feat(projects): move hasProjects check to store

This commit is contained in:
kolaente
2023-03-28 16:27:07 +02:00
parent 2579c33ee1
commit a95014dc5d
2 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,7 @@ const projectHistory = computed(() => {
const migratorsEnabled = computed(() => configStore.availableMigrators?.length > 0)
const hasTasks = computed(() => baseStore.hasTasks)
const hasProjects = computed(() => projectStore.projects ? true : false)
const hasProjects = computed(() => projectStore.hasProjects)
const loading = computed(() => taskStore.isLoading)
const deletionScheduledAt = computed(() => parseDateOrNull(authStore.info?.deletionScheduledAt))