settings overhaul and reset

This commit is contained in:
makearmy 2025-10-05 18:56:17 -04:00
parent 98d9ae0d90
commit d3a1c3be8d

View file

@ -64,11 +64,15 @@ export default function CO2GalvoPanel() {
) : (
<div className="w-full">
{id ? (
<CO2GalvoDetail
id={id}
onBack={() => setView("list")}
showOwnerEdit={true}
/>
<CO2GalvoDetail id={id} editable />
<div className="mt-2">
<button
className="px-2 py-1 border rounded text-sm"
onClick={() => setView("list")}
>
Back
</button>
</div>
) : (
<div className="text-sm text-muted-foreground">No record selected.</div>
)}