fix(name): change name from Web Control to WhatsApp Control

This commit is contained in:
zain94rif
2026-04-02 14:03:17 +07:00
parent 8becbc2a6b
commit 34beee4975
6 changed files with 83 additions and 82 deletions

View File

@@ -227,11 +227,11 @@ const allItems = [
),
},
{
key: 'web-control',
key: 'whatsapp-control',
icon: <GlobalOutlined style={{ fontSize: '19px' }} />,
label: (
<Link to="/web-control" className="fontMenus">
Web Control
<Link to="/whatsapp-control" className="fontMenus">
WhatsApp Control
</Link>
),
},
@@ -260,7 +260,7 @@ const LayoutMenu = () => {
if (pathname === '/dashboard/home') return 'home';
if (pathname === '/user') return 'user';
if (pathname === '/role') return 'role';
if (pathname === '/web-control') return 'web-control';
if (pathname === '/whatsapp-control') return 'whatsapp-control';
if (pathname === '/notification') return 'notification';
if (pathname === '/jadwal-shift') return 'jadwal-shift';
if (pathname === '/contact') return 'contact';