diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index d8811af02..08f2ca9a4 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -266,8 +266,9 @@ const myEventHandler = (e: any, setSCroll: boolean) => { */ const activeMenu = (path: string) => { if (path == "dashboard" && route.fullPath == "/") return true; - if (path == "registry" && route.fullPath == "/registry-employee") - return false; + if (path == "registry" && route.fullPath == "/registry-employee") return false; + if (path == "registry" && route.fullPath.includes(`/registry-employee/edit`)) return false; + if (path == "registry" && route.fullPath == "/") return false; // if (path != "registry" && path == "registryEmployee" && route.fullPath == "/registryEmployee") return true; const bool = route.fullPath.includes(`/${path}`);