Merge branch 'develop' into feat/contacts-redesign

This commit is contained in:
Sivin Varghese
2024-11-12 11:40:26 +05:30
committed by GitHub
13 changed files with 716 additions and 262 deletions
@@ -176,9 +176,25 @@ const menuItems = computed(() => {
},
{
name: 'Captain',
icon: 'i-lucide-bot',
icon: 'i-woot-captain',
label: t('SIDEBAR.CAPTAIN'),
to: accountScopedRoute('captain'),
children: [
{
name: 'Documents',
label: 'Documents',
to: accountScopedRoute('captain', { page: 'documents' }),
},
{
name: 'Responses',
label: 'Responses',
to: accountScopedRoute('captain', { page: 'responses' }),
},
{
name: 'Playground',
label: 'Playground',
to: accountScopedRoute('captain', { page: 'playground' }),
},
],
},
!showV4Feature.value
? {
@@ -143,7 +143,9 @@ const toggleTrigger = () => {
<template v-for="child in children" :key="child.name">
<SidebarSubGroup
v-if="child.children"
v-bind="child"
:label="child.label"
:icon="child.icon"
:children="child.children"
:is-expanded="isExpanded"
:active-child="activeChild"
/>