@octaviaflow/core 3.0.18-beta.34 → 3.0.18-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -12641,7 +12641,7 @@ var COLLAPSED_HEIGHT = 36;
|
|
|
12641
12641
|
var DEFAULT_EXPANDED_HEIGHT = 240;
|
|
12642
12642
|
var ALL_LEVELS = ["info", "warn", "error", "debug", "success"];
|
|
12643
12643
|
function ExecutionConsole({
|
|
12644
|
-
open
|
|
12644
|
+
open: openProp,
|
|
12645
12645
|
onToggle,
|
|
12646
12646
|
logs = [],
|
|
12647
12647
|
running = false,
|
|
@@ -12660,6 +12660,7 @@ function ExecutionConsole({
|
|
|
12660
12660
|
emptyState,
|
|
12661
12661
|
className
|
|
12662
12662
|
}) {
|
|
12663
|
+
const open = openProp ?? height != null;
|
|
12663
12664
|
const logEndRef = useRef23(null);
|
|
12664
12665
|
const logsRef = useRef23(null);
|
|
12665
12666
|
const lastScrollTopRef = useRef23(0);
|