mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-17 10:13:16 +01:00
Add goals feature for personal goals with filters
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
DocumentTextIcon,
|
||||
TableCellsIcon,
|
||||
} from '@heroicons/vue/20/solid';
|
||||
import { PanelLeft } from '@lucide/vue';
|
||||
import { PanelLeft, Target } from '@lucide/vue';
|
||||
import NavigationSidebarItem from '@/Components/NavigationSidebarItem.vue';
|
||||
import UserSettingsIcon from '@/Components/UserSettingsIcon.vue';
|
||||
import MainContainer from '@/packages/ui/src/MainContainer.vue';
|
||||
@@ -31,6 +31,7 @@ import {
|
||||
canManageBilling,
|
||||
canUpdateOrganization,
|
||||
canViewClients,
|
||||
canViewGoals,
|
||||
canViewInvoices,
|
||||
canViewMembers,
|
||||
canViewProjects,
|
||||
@@ -218,6 +219,12 @@ const page = usePage<{
|
||||
"
|
||||
:href="route('reporting')">
|
||||
</NavigationSidebarItem>
|
||||
<NavigationSidebarItem
|
||||
v-if="canViewGoals()"
|
||||
title="Goals"
|
||||
:icon="Target"
|
||||
:current="route().current('goals')"
|
||||
:href="route('goals')"></NavigationSidebarItem>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user