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>
2 lines
870 B
JavaScript
2 lines
870 B
JavaScript
import{a as l,b as t,X as c}from"./model-Ccgnj9lY.js";import{d,f as i,g as s,e as m,o as _,c as f,h as p,t as u,n as w,r as b}from"./index-Cv1Zmfn4.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";function h(){const e=new l("admin/misc/newsletter/list","لیست خبرنامه");return e.add(new t("name","نام").filterKey("email").filterText()),e.add(new t("mobile","شماره موبایل").filterNumber()),e.add(new t("op","عملیات").noSort().renderSlot("actions")),e}const N={class:"muted"},X=d({__name:"newsletters",setup(e){const a=h(),o=b(null);return(k,y)=>{const n=m("a-card");return _(),i(n,{title:"لیست خبرنامه"},{default:s(()=>[f(c,{ref_key:"newsletter",ref:o,model:w(a)},{actions:s(({record:r})=>[p("span",N,u(r.email??"-"),1)]),_:1},8,["model"])]),_:1})}}}),T=x(X,[["__scopeId","data-v-1a9cdc96"]]);export{T as default};
|