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
807 B
JavaScript
2 lines
807 B
JavaScript
import{d as i,v as p,x as d,f as r,g as m,r as u,e as n,o as t,i as s,F as f,k,t as y}from"./index-Cv1Zmfn4.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";const g={key:1,class:"links"},v=["href"],x=i({__name:"report",setup(B){const a=u([]);return p(async()=>{try{const{data:e}=await d.get("dashboard/link");a.value=Array.isArray(e)?e:[]}catch(e){console.log(e)}}),(e,C)=>{const c=n("a-empty"),l=n("a-card");return t(),r(l,{title:"مدیریت گزارشات"},{default:m(()=>[a.value.length===0?(t(),r(c,{key:0,description:"هنوز لینکی تعریف نشده است"})):(t(),s("div",g,[(t(!0),s(f,null,k(a.value,(o,_)=>(t(),s("a",{key:_,href:o.url,target:"_blank",class:"link-card"},y(o.title),9,v))),128))]))]),_:1})}}}),A=h(x,[["__scopeId","data-v-16a3f361"]]);export{A as default};
|