Files
tehran_taj/apps/admin-panel/dist/assets/report-d5jqUIEH.js
T
mahmoodandClaude Sonnet 5.5 5ddb225813 fix(ui): act-as strip no longer covers headers; customer type and slider permission
- apps: the fixed «در حال مشاهده به‌عنوان» strip (38px) sat over the fixed page
  headers, which still sat at top: 0 (the old 30px body padding was shorter than
  the strip too). The strip's height is now one variable, --aab-h, that the
  fixed headers (PageBar, home, dashboard, toasts) use as their top.
- admin: the customer form offers only «مغازه دار اپلیکیشن» to anyone but the
  super admin; bankers and walk-in shopkeepers are listed by super-admin-only
  endpoints, so ordinary admins lost the customers they created under them.
- admin: the mobile slider rid (custom.config.statics.slider) was only under the
  «سفارشی» branch, which the permission screen hides outside level 104. Same rid,
  now listed under «مدیریت ثابت ها». Display only: the slider routes are still
  gated by config.statics.

Rebuilds admin-panel, user-app and user-app-v2 dist.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 11:16:23 +03:30

2 lines
772 B
JavaScript

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