mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
UI: Added hostname to LogBox title (#478)
This commit is contained in:
parent
e0272ad4af
commit
e7fcda19c1
@ -248,7 +248,7 @@ function LogWindow(props: IProps): React.ReactElement {
|
||||
|
||||
function title(full = false): string {
|
||||
const maxLength = 30;
|
||||
const t = `${script.filename} ${script.args.map((x: ScriptArg): string => `${x}`).join(" ")}`;
|
||||
const t = `${script.server}: ${script.filename} ${script.args.join(" ")}`;
|
||||
if (full || t.length <= maxLength) {
|
||||
return t;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user