Adding SMS automation
This commit is contained in:
@@ -49,6 +49,9 @@ const activitiesActive = computed(() => pathIn(['/activities']));
|
||||
const notesActive = computed(() => route.path === '/notes' || route.path.startsWith('/notes/'));
|
||||
const supportActive = computed(() => pathIn(['/tickets']));
|
||||
const automationsActive = computed(() => route.path.startsWith('/settings/automations'));
|
||||
const messageAutomationsActive = computed(() =>
|
||||
route.path.startsWith('/settings/message-automations'),
|
||||
);
|
||||
const toolsActive = computed(() =>
|
||||
pathIn(['/settings/lead-forms', '/projects', '/project-cards', '/inventory', '/cheques', '/attachments']),
|
||||
);
|
||||
@@ -411,6 +414,17 @@ onUnmounted(() => {
|
||||
<UiIcon name="layers" :size="collapsed ? 20 : 18" />
|
||||
<span>اتوماسیون</span>
|
||||
</RouterLink>
|
||||
<RouterLink
|
||||
v-if="canSettings"
|
||||
to="/settings/message-automations"
|
||||
class="nav-item"
|
||||
title="پیام خودکار"
|
||||
:class="{ 'router-link-active': messageAutomationsActive }"
|
||||
@click="closeHub(); closeMenu()"
|
||||
>
|
||||
<UiIcon name="mail" :size="collapsed ? 20 : 18" />
|
||||
<span>پیام خودکار</span>
|
||||
</RouterLink>
|
||||
</div>
|
||||
|
||||
<div class="nav-sep" aria-hidden="true" />
|
||||
|
||||
Reference in New Issue
Block a user