fix: rename automation to automations

This commit is contained in:
Ramesh Mane
2026-03-04 14:42:37 +00:00
parent a575ae0ab5
commit 0a71f887f5
7 changed files with 24 additions and 24 deletions

View File

@@ -89,8 +89,8 @@ const onTabClick = async (tabKey: string) => {
const basePath = getBasePath()
if (!basePath) return
if (tabKey === 'automation') {
await navigateTo(`${basePath}/automation`)
if (tabKey === 'automations') {
await navigateTo(`${basePath}/automations`)
} else {
await navigateTo(basePath)
}
@@ -124,13 +124,13 @@ const mainItems = computed<NavItem[]>(() => [
onClick: () => onTabClick('data'),
},
{
key: 'automation',
key: 'automations',
icon: 'ncAutomation',
label: 'Automation',
label: 'Automations',
accentColor: '#a78bfa',
indicatorColor: '#8b5cf6',
disabled: !hasAvailableBases.value,
onClick: () => onTabClick('automation'),
onClick: () => onTabClick('automations'),
},
{ key: 'divider', icon: '', label: '' },
{ key: 'settings', icon: 'ncSettings', label: 'Settings', onClick: () => onTabClick('settings') },