From 1d08bda2c9aba1ba631497e4a72037d9267a89e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Paunovi=C4=87?= Date: Tue, 10 Sep 2024 11:06:44 +0200 Subject: [PATCH] fix(ui): pass namespace parameter to file creation (#4876) --- ui/src/components/inputs/EditorView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/inputs/EditorView.vue b/ui/src/components/inputs/EditorView.vue index 8f954cb0c3..034384450c 100644 --- a/ui/src/components/inputs/EditorView.vue +++ b/ui/src/components/inputs/EditorView.vue @@ -739,7 +739,7 @@ }); } else { await store.dispatch("namespace/createFile", { - namespace: props.namespace, + namespace: props.namespace ?? routeParams.id, path: currentTab.value.path ?? currentTab.value.name, content: editorDomElement.value.$refs.monacoEditor.value, });