Skip to content

Commit 6195c59

Browse files
committed
refactor: update terminal header to display server name if available
1 parent 1a7e2ad commit 6195c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export const TerminalPage = () => {
143143
return (
144144
<div className="px-8">
145145
<div className="flex mt-6 mb-4">
146-
<h1 className="flex-1 text-3xl font-bold tracking-tight">{`Terminal (${id})`}</h1>
146+
<h1 className="flex-1 text-3xl font-bold tracking-tight"> {terminal?.server_name || 'Terminal'} ({id})</h1>
147147
<div className="flex ml-auto self-end sm:self-auto gap-2 flex-wrap shrink-0">
148148
<IconButton
149149
icon="expand"

0 commit comments

Comments
 (0)