mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
fix
This commit is contained in:
parent
b941753e1b
commit
03a703c4b0
@ -72,7 +72,11 @@ export function ServerAccordions(props: IProps): React.ReactElement {
|
|||||||
if (data !== undefined) data.workerScripts.push(ws);
|
if (data !== undefined) data.workerScripts.push(ws);
|
||||||
}
|
}
|
||||||
|
|
||||||
const filtered = Object.values(serverToScriptMap).filter((data) => data && data.server.hostname.includes(filter));
|
const filtered = Object.values(serverToScriptMap).filter(
|
||||||
|
(data) =>
|
||||||
|
data &&
|
||||||
|
(data.server.hostname.includes(filter) || data.server.runningScripts.find((s) => s.filename.includes(filter))),
|
||||||
|
);
|
||||||
|
|
||||||
function rerender(): void {
|
function rerender(): void {
|
||||||
setRerender((old) => !old);
|
setRerender((old) => !old);
|
||||||
|
Loading…
Reference in New Issue
Block a user