feat: add back to admin
This commit is contained in:
parent
e48a079f46
commit
418208b0e3
@ -84,10 +84,14 @@ export const MonitorStatusPage: React.FC<MonitorStatusPageProps> = React.memo(
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{allowEdit && !editMode && (
|
{allowEdit && !editMode && (
|
||||||
<div className="mb-4">
|
<div className="mb-4 flex gap-2">
|
||||||
<Button type="primary" onClick={() => setEditMode(true)}>
|
<Button type="primary" onClick={() => setEditMode(true)}>
|
||||||
Edit
|
Edit
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<Button type="default" onClick={() => navigate(`/`)}>
|
||||||
|
Back to Admin
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user