3D-Modelle Ordner + Dateianhang im Kalkulator
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user