Skip to content

Commit

Permalink
fix(ui): save content to proper file using the namespace file editor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Jan 24, 2025
1 parent 2759510 commit 460e037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/components/inputs/EditorView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,8 @@
}
});
} else {
if(!currentTab.value.dirty) return;
await store.dispatch("namespace/createFile", {
namespace: props.namespace ?? routeParams.id,
path: currentTab.value.path ?? currentTab.value.name,
Expand Down

0 comments on commit 460e037

Please sign in to comment.