settings overhaul and reset
This commit is contained in:
parent
d3a1c3be8d
commit
8b3aa65e2e
1 changed files with 8 additions and 6 deletions
|
|
@ -64,15 +64,17 @@ export default function CO2GalvoPanel() {
|
|||
) : (
|
||||
<div className="w-full">
|
||||
{id ? (
|
||||
<>
|
||||
<CO2GalvoDetail id={id} editable />
|
||||
<div className="mt-2">
|
||||
<button
|
||||
className="px-2 py-1 border rounded text-sm"
|
||||
onClick={() => setView("list")}
|
||||
>
|
||||
Back
|
||||
</button>
|
||||
<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