Skip to content

Commit 57457f0

Browse files
committed
Oops, also include the server status
1 parent 6b52a36 commit 57457f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/scripts/components/server/ServerDetailsBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ interface Stats {
1515
const ServerDetailsBlock = () => {
1616
const [ stats, setStats ] = useState<Stats>({ memory: 0, cpu: 0, disk: 0 });
1717

18+
const status = ServerContext.useStoreState(state => state.status.value);
1819
const connected = ServerContext.useStoreState(state => state.socket.connected);
1920
const instance = ServerContext.useStoreState(state => state.socket.instance);
2021

0 commit comments

Comments
 (0)