feat: add back to admin

This commit is contained in:
moonrailgun 2023-12-17 19:27:32 +08:00
parent e48a079f46
commit 418208b0e3

View File

@ -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>
)} )}