Compare commits
3
Commits
65d1a4fd18
...
865cbff0a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
865cbff0a6 | ||
|
|
03332b05f1 | ||
|
|
2ca489b8bb |
@@ -37,7 +37,11 @@ export default function ServiceClusterServer({
|
||||
(typeof ServerTerminalTargets)[number]["name"]
|
||||
>(service.logs?.[0] ? "logs" : "shell");
|
||||
|
||||
const [log, setLog] = useState<string>();
|
||||
const first_log = service.logs?.[0];
|
||||
const intial_logs =
|
||||
typeof first_log == "string" ? first_log : first_log?.cmd;
|
||||
|
||||
const [log, setLog] = useState<string | undefined>(intial_logs);
|
||||
|
||||
return (
|
||||
<Stack
|
||||
|
||||
+1
-1
Submodule twui updated: 9f8527fc4d...2c101420cc
Reference in New Issue
Block a user