UI: Added hostname to LogBox title (#478)

This commit is contained in:
Arron Chapman 2023-04-24 09:33:16 -05:00 committed by GitHub
parent e0272ad4af
commit e7fcda19c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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