admin-panel: drop the four redundant add entries from the sidebar

Each of these now has an add button at the top of its own list page, so the
nav entry duplicated it:
  - 'اضافه کردن شخص'  (/customer/add)
  - 'افزودن شعب'      (/branch/add)
  - 'افزودن کارگاه'    (/workshop/add)
  - 'افزودن مدیر'      (/user/create)

Only the adminMenu tree is touched; branchMenu keeps its own /customer/add
entry, since the branch build has no converted add-modal. All four routes
still exist and still work as a direct-link fallback, and the parent
submenus keep their remaining children (including 'دسترسی ها' under مدیران).

Verified in a real browser: menu items 30 -> 26, none of the four labels
render, all four parent submenus still present with their list children,
icons unchanged at 16, no console errors. Committed dist/ artifact rebuilt
to match (force-added, as it is gitignored but deliberately tracked for
Dokploy).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
s.esmaeili
2026-09-14 17:45:30 +03:30
co-authored by Claude Opus 5
parent 4b038c0518
commit d15129168a
120 changed files with 110 additions and 129 deletions
+1
View File
@@ -0,0 +1 @@
import e from"./UserCreate-DEAd2Y8O.js";import{d as r,f as o,o as t}from"./index-Cv1Zmfn4.js";import"./BaseFormModal.vue_vue_type_script_setup_true_lang-Ctp6vfI0.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const i=r({__name:"UserEdit",setup(a){return(p,s)=>(t(),o(e))}});export{i as default};