fix: show dashboard to all
(cherry picked from commit 948ce994824260b4ca6303f0b729bb1beb760b0c)
This commit is contained in:
parent
671ce54380
commit
e4722a79cc
@ -197,51 +197,50 @@ const isSidebarCollapsed = useStorage('isSidebarCollapsed', false)
|
|||||||
const isFCSite = ref(window.is_fc_site)
|
const isFCSite = ref(window.is_fc_site)
|
||||||
const isDemoSite = ref(window.is_demo_site)
|
const isDemoSite = ref(window.is_demo_site)
|
||||||
|
|
||||||
const allViews = computed(() => {
|
const links = [
|
||||||
const links = [
|
{
|
||||||
{
|
label: 'Dashboard',
|
||||||
label: 'Dashboard',
|
icon: LucideLayoutDashboard,
|
||||||
icon: LucideLayoutDashboard,
|
to: 'Dashboard',
|
||||||
to: 'Dashboard',
|
},
|
||||||
condition: () => isManager(),
|
{
|
||||||
},
|
label: 'Leads',
|
||||||
{
|
icon: LeadsIcon,
|
||||||
label: 'Leads',
|
to: 'Leads',
|
||||||
icon: LeadsIcon,
|
},
|
||||||
to: 'Leads',
|
{
|
||||||
},
|
label: 'Deals',
|
||||||
{
|
icon: DealsIcon,
|
||||||
label: 'Deals',
|
to: 'Deals',
|
||||||
icon: DealsIcon,
|
},
|
||||||
to: 'Deals',
|
{
|
||||||
},
|
label: 'Contacts',
|
||||||
{
|
icon: ContactsIcon,
|
||||||
label: 'Contacts',
|
to: 'Contacts',
|
||||||
icon: ContactsIcon,
|
},
|
||||||
to: 'Contacts',
|
{
|
||||||
},
|
label: 'Organizations',
|
||||||
{
|
icon: OrganizationsIcon,
|
||||||
label: 'Organizations',
|
to: 'Organizations',
|
||||||
icon: OrganizationsIcon,
|
},
|
||||||
to: 'Organizations',
|
{
|
||||||
},
|
label: 'Notes',
|
||||||
{
|
icon: NoteIcon,
|
||||||
label: 'Notes',
|
to: 'Notes',
|
||||||
icon: NoteIcon,
|
},
|
||||||
to: 'Notes',
|
{
|
||||||
},
|
label: 'Tasks',
|
||||||
{
|
icon: TaskIcon,
|
||||||
label: 'Tasks',
|
to: 'Tasks',
|
||||||
icon: TaskIcon,
|
},
|
||||||
to: 'Tasks',
|
{
|
||||||
},
|
label: 'Call Logs',
|
||||||
{
|
icon: PhoneIcon,
|
||||||
label: 'Call Logs',
|
to: 'Call Logs',
|
||||||
icon: PhoneIcon,
|
},
|
||||||
to: 'Call Logs',
|
]
|
||||||
},
|
|
||||||
]
|
|
||||||
|
|
||||||
|
const allViews = computed(() => {
|
||||||
let _views = [
|
let _views = [
|
||||||
{
|
{
|
||||||
name: 'All Views',
|
name: 'All Views',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user