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 committed Jan 24, 2025
1 parent f6d62f8 commit 9273d73
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 @@ -737,6 +737,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 9273d73

Please sign in to comment.