Skip to content

Commit

Permalink
fix(ui): pass namespace parameter to file creation (#4876)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored and fhussonnois committed Sep 12, 2024
1 parent b78d04b commit 1d08bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/inputs/EditorView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 1d08bda

Please sign in to comment.