diff options
| author | Sebastian <sebasjm@gmail.com> | 2023-10-06 10:38:09 -0300 |
|---|---|---|
| committer | Sebastian <sebasjm@gmail.com> | 2023-10-06 10:38:23 -0300 |
| commit | 98013322db6b912ac50d72353dbd8b5f7fbc0435 (patch) | |
| tree | 184b99e08c69f131fe26628bbb106633d7d66013 /packages/merchant-backoffice-ui/src/components/menu | |
| parent | 97d7be7503168f4f3bbd05905d32aa76ca1636b2 (diff) | |
backoffice ui
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/menu')
| -rw-r--r-- | packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx | 4 | ||||
| -rw-r--r-- | packages/merchant-backoffice-ui/src/components/menu/index.tsx | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx index 402134096..6905cb4d0 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx @@ -177,12 +177,12 @@ export function Sidebar({ </a> </li> <li> - <a href={"/server"} class="has-icon"> + <a href={"/settings"} class="has-icon"> <span class="icon"> <i class="mdi mdi-square-edit-outline" /> </span> <span class="menu-item-label"> - <i18n.Translate>Server</i18n.Translate> + <i18n.Translate>Settings</i18n.Translate> </span> </a> </li> diff --git a/packages/merchant-backoffice-ui/src/components/menu/index.tsx b/packages/merchant-backoffice-ui/src/components/menu/index.tsx index b8ac2c9ab..0e881d7a5 100644 --- a/packages/merchant-backoffice-ui/src/components/menu/index.tsx +++ b/packages/merchant-backoffice-ui/src/components/menu/index.tsx @@ -24,7 +24,7 @@ import { Sidebar } from "./SideBar.js"; function getInstanceTitle(path: string, id: string): string { switch (path) { - case InstancePaths.server: + case InstancePaths.settings: return `${id}: Settings`; case InstancePaths.order_list: return `${id}: Orders`; @@ -64,9 +64,7 @@ function getInstanceTitle(path: string, id: string): string { return `${id}: Templates`; case InstancePaths.templates_use: return `${id}: Use template`; - case InstancePaths.settings: - return `${id}: Interface`; - case InstancePaths.settings: + case InstancePaths.interface: return `${id}: Interface`; default: return ""; |
