3D-Modelle Ordner + Dateianhang im Kalkulator

This commit is contained in:
2026-05-28 12:45:19 +02:00
parent ab752d7c93
commit da1a1e9641
3 changed files with 121 additions and 2 deletions

View File

@@ -192,6 +192,11 @@ export default function Dateien({ toast, mobile }) {
useEffect(()=>{load();},[load]);
// "3D-Modelle" Ordner beim ersten Laden automatisch anlegen
useEffect(()=>{
api('/tools/dateien/ensure-folder',{body:{name:'3D-Modelle'}}).catch(()=>{});
},[]);
const doUpload = async file => {
if (!file) return;
setUploading(true);