Skip to content

Commit

Permalink
Restore respect to the reset button
Browse files Browse the repository at this point in the history
  • Loading branch information
szczz committed Sep 5, 2024
1 parent 0ec3566 commit 2c2c227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/metadata-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ export default class MetadataEditorV extends Vue {
// Update router path
if (this.reloadExisting) {
this.loadEditor = true;
this.generateConfig();
this.unsavedChanges = false;
this.updateEditorPath();
} else if (!this.loadExisting) {
this.loadEditor = true;
Expand Down Expand Up @@ -1288,7 +1288,6 @@ export default class MetadataEditorV extends Vue {
// Re-fetch the product from the server.
if (this.loadExisting) {
this.reloadExisting = true;
this.loadExisting = false;
this.generateRemoteConfig();
} else {
this.reloadExisting = false;
Expand Down

0 comments on commit 2c2c227

Please sign in to comment.