Skip to content

Commit

Permalink
Update version number and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Bonomi committed Mar 28, 2024
1 parent 420acf2 commit beadb43
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airflow_code_editor/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0
7.6.0
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@

- Git push and git pull

## [7.6.0] - 2024-XX-XX
## [7.6.0] - 2024-03-28

### Added

Expand All @@ -416,3 +416,4 @@
### Changed

- Format action now sorts import with isort
- Improve error messages
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "airflow-code-editor",
"version": "7.5.0",
"version": "7.6.0",
"description": "A plugin for [Apache Airflow](https://github.com/apache/airflow) that allows you to edit DAGs in browser. It provides a file managing interface within specified directories and it can be used to edit and download your files. If git support is enabled, the DAGs are stored in a Git repository. You may use it to view Git history, review local changes and commit.",
"private": true,
"repository": {
Expand Down
7 changes: 6 additions & 1 deletion src/components/Files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,12 @@ export default defineComponent({
// Show Delete file dialog
const target = await this.$refs.deleteDialog.showDialog(item.object);
if (target) {
await git_async([ 'rm-local', target ]);
try {
const path = normalize('files/' + target);
await axios.delete(prepareHref(path));
} catch(error) {
showError(error.response && error.response.data.error ? error.response.data.error.message : error);
}
this.refresh();
}
},
Expand Down

0 comments on commit beadb43

Please sign in to comment.