implement remaining features of the server page (#9)

* implement remaining features of the server page

* fix fm init

* ?
This commit is contained in:
UUBulb
2024-11-21 22:20:14 +08:00
committed by GitHub
parent 6166d9de3f
commit 33b2ffb40c
18 changed files with 994 additions and 32 deletions

View File

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