Neustart CPL und Datenbank leeren auch in Blau und daneben in

unterster Zeile in der Einstellungen-Modal
This commit is contained in:
ISA
2024-10-21 07:47:32 +02:00
parent b26430bf9c
commit 55aa516796

View File

@@ -382,6 +382,7 @@ function SettingModal({ showModal, onClose }) {
</div>
{/* Datenbank leeren und Neustart CPL */}
{/*
<div className="flex flex-col items-start justify-between mt-4 space-y-2">
<button
className="bg-littwin-blue text-white px-4 py-2 rounded"
@@ -390,9 +391,16 @@ function SettingModal({ showModal, onClose }) {
Neustart CPL
</button>
</div>
*/}
{/* Modal Footer */}
<div className="flex justify-between mt-4">
<button
className="bg-littwin-blue text-white px-4 py-2 rounded"
onClick={() => handleReboot()}
>
Neustart CPL
</button>
<button
className="bg-littwin-blue text-white px-4 py-2 rounded"
onClick={() => handleClearDatabase()}