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">
|
<div className="w-full">
|
||||||
{id ? (
|
{id ? (
|
||||||
<CO2GalvoDetail
|
<CO2GalvoDetail id={id} editable />
|
||||||
id={id}
|
<div className="mt-2">
|
||||||
onBack={() => setView("list")}
|
<button
|
||||||
showOwnerEdit={true}
|
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>
|
<div className="text-sm text-muted-foreground">No record selected.</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue