diff --git a/shop/app/admin/einstellungen/page.tsx b/shop/app/admin/einstellungen/page.tsx
index 80b8c0b..319a72c 100644
--- a/shop/app/admin/einstellungen/page.tsx
+++ b/shop/app/admin/einstellungen/page.tsx
@@ -21,14 +21,14 @@ export default function AdminSettings() {
const [loading, setLoading] = useState(true);
// LicServer Config State
- const [licUrl, setLicUrl] = useState('');
- const [licKey, setLicKey] = useState('');
- const [showKey, setShowKey] = useState(false);
- const [licSaving, setLicSaving] = useState(false);
- const [licTesting, setLicTesting] = useState(false);
- const [licStatus, setLicStatus] = useState<{ ok: boolean; message: string } | null>(null);
- const [licMsg, setLicMsg] = useState('');
- const [licMsgType, setLicMsgType] = useState<'success' | 'error' | ''>('');
+ const [licUrl, setLicUrl] = useState('');
+ const [licKey, setLicKey] = useState('');
+ const [showKey, setShowKey] = useState(false);
+ const [licSaving, setLicSaving] = useState(false);
+ const [licTesting, setLicTesting] = useState(false);
+ const [licStatus, setLicStatus] = useState<{ ok: boolean; message: string } | null>(null);
+ const [licMsg, setLicMsg] = useState('');
+ const [licMsgType, setLicMsgType] = useState<'success' | 'error' | ''>('');
const router = useRouter();
useEffect(() => {
@@ -63,7 +63,7 @@ export default function AdminSettings() {
.single();
if (licRow) {
setLicUrl(licRow.licserver_base_url || '');
- setLicKey(licRow.licserver_api_key || '');
+ setLicKey(licRow.licserver_api_key || '');
}
} catch (dbErr) {
console.error("Fehler beim Laden der LicServer-Einstellungen:", dbErr);
@@ -90,7 +90,7 @@ export default function AdminSettings() {
try {
const res = await fetch('/api/admin/db-backup');
if (!res.ok) throw new Error('Export fehlgeschlagen');
-
+
const blob = await res.blob();
const url = window.URL.createObjectURL(blob);
const a = document.createElement('a');
@@ -184,11 +184,10 @@ export default function AdminSettings() {
{statusMsg && (
-
+ 'bg-blue-500/10 border-blue-500/20 text-blue-600 dark:text-blue-400'
+ }`}>
{statusMsg}
)}
@@ -205,8 +204,8 @@ export default function AdminSettings() {
Lädt alle Kategorien, Produkte, Module, Firmen, Endkunden, Bestellungen und SMTP-Einstellungen als ZIP-Datei herunter.
-