diff --git a/backend/src/monitor.rs b/backend/src/monitor.rs index 27a56d5613..ea79738215 100644 --- a/backend/src/monitor.rs +++ b/backend/src/monitor.rs @@ -2571,8 +2571,6 @@ pub async fn reload_app_workspaced_route_setting(conn: &DB) -> error::Result<()> let app_workspaced_route = load_value_from_global_settings(conn, APP_WORKSPACED_ROUTE_SETTING).await?; - println!("Updating..."); - let ws_route = match app_workspaced_route { Some(serde_json::Value::Bool(ws_route)) => ws_route, None => false, diff --git a/frontend/src/lib/components/SimpleEditor.svelte b/frontend/src/lib/components/SimpleEditor.svelte index 5f7c6b6a4f..48c90607a1 100644 --- a/frontend/src/lib/components/SimpleEditor.svelte +++ b/frontend/src/lib/components/SimpleEditor.svelte @@ -267,7 +267,7 @@ } }) $effect(() => { - editor?.updateOptions({ + editor?.updateOptions({ lineNumbers: $relativeLineNumbers ? 'relative' : 'on' }) }) @@ -377,9 +377,14 @@ return } try { - console.log('fixedOverflowWidgets', fixedOverflowWidgets) editor = meditor.create(divEl as HTMLDivElement, { - ...editorConfig(code ?? '', lang, automaticLayout, fixedOverflowWidgets, $relativeLineNumbers), + ...editorConfig( + code ?? '', + lang, + automaticLayout, + fixedOverflowWidgets, + $relativeLineNumbers + ), model, lineDecorationsWidth: 6, lineNumbersMinChars: 2, diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte index 7d2563bda3..b5d99942e6 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte @@ -116,7 +116,6 @@ if (deepEqual(runnable, lastRunnable)) { return } - console.log('runnable', runnable) notFound = false if (runnable.runType == 'script') { refreshScript(runnable)