Version 9b #1

Merged
Lars merged 34 commits from develop into main 2026-03-19 08:04:02 +01:00
Showing only changes of commit a0660e7a40 - Show all commits

View File

@ -291,12 +291,12 @@ export default function SettingsPage() {
)} )}
{canExport && <> {canExport && <>
<button className="btn btn-primary btn-full" <button className="btn btn-primary btn-full"
onClick={()=>window.open('/api/export/zip')}> onClick={()=>api.exportZip()}>
<Download size={14}/> ZIP exportieren <Download size={14}/> ZIP exportieren
<span style={{fontSize:11,opacity:0.8,marginLeft:6}}> je eine CSV pro Kategorie</span> <span style={{fontSize:11,opacity:0.8,marginLeft:6}}> je eine CSV pro Kategorie</span>
</button> </button>
<button className="btn btn-secondary btn-full" <button className="btn btn-secondary btn-full"
onClick={()=>window.open('/api/export/json')}> onClick={()=>api.exportJson()}>
<Download size={14}/> JSON exportieren <Download size={14}/> JSON exportieren
<span style={{fontSize:11,opacity:0.8,marginLeft:6}}> maschinenlesbar, alles in einer Datei</span> <span style={{fontSize:11,opacity:0.8,marginLeft:6}}> maschinenlesbar, alles in einer Datei</span>
</button> </button>