mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-20 03:25:56 +00:00
wip(realms): checkpoint work-in-progress files on branch for clean build provenance
This commit is contained in:
1 parent
aff7659625
commit
b2572d4f7c
22 files changed
+474
-108
No files matched your search
@@ -15,7 +15,7 @@ export function RemoveServerCard({ serverId, path, onForget }: { serverId: strin
|
||||
let active = true;
|
||||
void api.status(serverId).then((s) => {
|
||||
if (!active) return;
|
||||
const all = [s.observed.mysql, s.observed.auth, s.observed.world, ...(s.observed.secondary_world ? [s.observed.secondary_world] : [])];
|
||||
const all = [s.observed.mysql, s.observed.auth, s.observed.world, ...(s.observed.secondary_world ? [s.observed.secondary_world] : []), ...(s.observed.reborn_world ? [s.observed.reborn_world] : [])];
|
||||
setRunning(all.some((x) => x.state === "running" || x.state === "starting" || x.state === "stopping"));
|
||||
}).catch(() => { /* an unreadable status must not hide the button */ });
|
||||
return () => { active = false; };
|
||||
|
||||
Reference in new issue
Block a user