From 61dbe99822d2e502d5bef9ec01f145a20bf23aea Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 29 Jan 2024 11:33:16 +0100 Subject: [PATCH] rm console logs --- frontend/src/lib/components/LogViewer.svelte | 1 + frontend/src/lib/components/ScheduleEditorInner.svelte | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/lib/components/LogViewer.svelte b/frontend/src/lib/components/LogViewer.svelte index be5ee8d1c0..8ad066fe24 100644 --- a/frontend/src/lib/components/LogViewer.svelte +++ b/frontend/src/lib/components/LogViewer.svelte @@ -40,6 +40,7 @@ } $: truncatedContent && scrollToBottom() + $: html = ansi_up.ansi_to_html(truncatedContent ?? '') export function scrollToBottom() { scroll && setTimeout(() => div?.scroll({ top: div?.scrollHeight, behavior: 'smooth' }), 100) diff --git a/frontend/src/lib/components/ScheduleEditorInner.svelte b/frontend/src/lib/components/ScheduleEditorInner.svelte index da7fbd5878..7fbaaaf02a 100644 --- a/frontend/src/lib/components/ScheduleEditorInner.svelte +++ b/frontend/src/lib/components/ScheduleEditorInner.svelte @@ -162,7 +162,6 @@ const dispatch = createEventDispatcher() async function loadScript(p: string | undefined): Promise { - console.log('LOAD', p) if (p) { args = {} runnable = undefined @@ -248,7 +247,6 @@ if (oldScriptPath == script_path) { loadScript(script_path) } - console.log(script_path) is_flow = s.is_flow no_flow_overlap = s.no_flow_overlap ?? false wsErrorHandlerMuted = s.ws_error_handler_muted ?? false