Drop unused sidebar active flags so the web type-check can pass.
This commit is contained in:
@@ -53,8 +53,6 @@ const salesActive = computed(() =>
|
|||||||
const activitiesActive = computed(() => pathIn(['/activities']));
|
const activitiesActive = computed(() => pathIn(['/activities']));
|
||||||
const notesActive = computed(() => route.path === '/notes' || route.path.startsWith('/notes/'));
|
const notesActive = computed(() => route.path === '/notes' || route.path.startsWith('/notes/'));
|
||||||
const supportActive = computed(() => pathIn(['/tickets']));
|
const supportActive = computed(() => pathIn(['/tickets']));
|
||||||
const loyaltyActive = computed(() => pathIn(['/loyalty']));
|
|
||||||
const reportsActive = computed(() => pathIn(['/reports']));
|
|
||||||
const automationsActive = computed(() => route.path.startsWith('/settings/automations'));
|
const automationsActive = computed(() => route.path.startsWith('/settings/automations'));
|
||||||
const toolsActive = computed(() =>
|
const toolsActive = computed(() =>
|
||||||
pathIn(['/settings/lead-forms', '/projects', '/project-cards', '/inventory', '/cheques', '/attachments']),
|
pathIn(['/settings/lead-forms', '/projects', '/project-cards', '/inventory', '/cheques', '/attachments']),
|
||||||
|
|||||||
Reference in New Issue
Block a user