From cdb646e16a805c8cd6181b3e76cf285a9c6c9b8c Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Fri, 31 Jan 2025 14:55:00 -0800 Subject: [PATCH] Removed terminal if error shown in entry --- .../console-entry/console-entry.tsx | 12 +++-- app/w/components/console/console.tsx | 48 ++++++++++--------- 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/app/w/components/console/components/console-entry/console-entry.tsx b/app/w/components/console/components/console-entry/console-entry.tsx index d6112747e..c9b8ec962 100644 --- a/app/w/components/console/components/console-entry/console-entry.tsx +++ b/app/w/components/console/components/console-entry/console-entry.tsx @@ -78,12 +78,14 @@ export function ConsoleEntry({ entry, consoleWidth }: ConsoleEntryProps) {
-
- -
- + {!entry.error && ( +
+ +
+ +
-
+ )} {entry.error && (
diff --git a/app/w/components/console/console.tsx b/app/w/components/console/console.tsx index 50b070d22..8565918cb 100644 --- a/app/w/components/console/console.tsx +++ b/app/w/components/console/console.tsx @@ -80,7 +80,7 @@ export function Console() { onMouseDown={handleMouseDown} /> -
+

Console

- - Close Console - +
+ + + + + Close Console + +
) }