diff --git a/apps/atrium-telegram/app/components/StaffBlock.vue b/apps/atrium-telegram/app/components/StaffBlock.vue index aad3fdd9..33de1a98 100644 --- a/apps/atrium-telegram/app/components/StaffBlock.vue +++ b/apps/atrium-telegram/app/components/StaffBlock.vue @@ -1,6 +1,6 @@ @@ -52,4 +61,6 @@ const userStore = useUserStore() const isCompleted = computed(() => !!task.completedAt) const performer = computed(() => userStore.staff.find((staff) => staff.id === task.performerId)) + +const isFocused = computed(() => task.id === performer.value?.focusedTaskId) diff --git a/apps/atrium-telegram/app/composables/useNavigation.ts b/apps/atrium-telegram/app/composables/useNavigation.ts index 79e7b8a8..c653bae0 100644 --- a/apps/atrium-telegram/app/composables/useNavigation.ts +++ b/apps/atrium-telegram/app/composables/useNavigation.ts @@ -17,8 +17,8 @@ function _useNavigation() { badge: flowStore.nowViewedItemsCount > 10 ? '10+' : flowStore.nowViewedItemsCount.toString(), }, { - path: '/tasks', - names: ['tasks'], + path: '/task/my', + names: ['my-tasks'], title: t('app.my-tasks'), icon: 'i-lucide-layout-dashboard', badge: taskStore.myTodayTasks.length.toString(), diff --git a/apps/atrium-telegram/app/pages/agreement/[agreementId]/index.vue b/apps/atrium-telegram/app/pages/agreement/[agreementId]/index.vue index 4eb1bab9..3be61c4c 100644 --- a/apps/atrium-telegram/app/pages/agreement/[agreementId]/index.vue +++ b/apps/atrium-telegram/app/pages/agreement/[agreementId]/index.vue @@ -1,6 +1,6 @@