Loheide-eu-mitarbeiterplatt.../public/build/assets/MyDownloads-D4lTGm_I.js
Friederich Loheide 443599b739
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Failing after 8m42s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 7m39s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 12m30s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 17m0s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m43s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 24m25s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 11m16s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 3m39s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m17s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 10m40s
Pflichtlektüre für Neuigkeiten (0.59.0)
Beiträge mit Lesebestätigung (namentlich), Frist, Aufgabe und Feed-Hinweis;
Auswertung für die Redaktion (bestätigt von / wer fehlt).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 15:16:16 +00:00

1 line
No EOL
1.2 KiB
JavaScript

import{At as e,C as t,Dt as n,O as r,S as i,T as a,Tt as o,Y as s,k as c,ot as l,q as u,v as d,w as f}from"./framework-Cy4cevSy.js";import{h as p,l as m,z as h}from"./app-CKWdzB9k.js";var g={key:0,class:`-my-1.5 grid gap-0.5`},_=[`href`],v={class:`min-w-0 flex-1 truncate text-sm`},y={__name:`MyDownloads`,props:{favorites:{type:Array,default:()=>[]},popular:{type:Array,default:()=>[]}},setup(y){let b=y,x=b.favorites.length?b.favorites:b.popular;return(b,S)=>(u(),t(m,{title:y.favorites.length?`Meine Downloads`:`Häufig genutzt`,"action-label":`Alle Downloads`,"action-href":`/downloads`},{default:l(()=>[o(x).length?(u(),a(`ul`,g,[(u(!0),a(d,null,s(o(x),t=>(u(),a(`li`,{key:t.id},[i(`a`,{href:t.download_url,class:`-mx-2 flex items-center gap-3 rounded-md px-2 py-1.5 hover:bg-accent`},[c(p,{extension:t.extension,size:`sm`},null,8,[`extension`]),i(`span`,v,e(t.title),1)],8,_)]))),128))])):f(``,!0),y.favorites.length?f(``,!0):(u(),a(`p`,{key:1,class:n([`text-[13px] text-muted-foreground`,{"mt-3 border-t pt-3":o(x).length}])},[c(o(h),{class:`-mt-0.5 mr-1 inline size-3.5`}),S[0]||=r(`Mit dem Stern unter „Downloads“ merken Sie sich Dateien für diese Kachel. `,-1)],2))]),_:1},8,[`title`]))}};export{y as default};