mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-05 05:00:06 +00:00
implement remaining features of the server page (#9)
* implement remaining features of the server page * fix fm init * ?
This commit is contained in:
@@ -141,16 +141,17 @@ export default function CronPage() {
|
||||
try {
|
||||
await runCron(s.id);
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
toast("Error executing task", {
|
||||
description: "Please see the console for details.",
|
||||
})
|
||||
await mutate()
|
||||
await mutate();
|
||||
return;
|
||||
}
|
||||
toast("Success", {
|
||||
description: "The task triggered successfully.",
|
||||
})
|
||||
await mutate()
|
||||
await mutate();
|
||||
}} />
|
||||
<CronCard mutate={mutate} data={s} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user