settings overhaul and reset
This commit is contained in:
parent
98d9ae0d90
commit
d3a1c3be8d
1 changed files with 9 additions and 5 deletions
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue