Skip to content

Commit

Permalink
Merge pull request #387 from szczz/RestoreResetRespect
Browse files Browse the repository at this point in the history
Restore respect to the reset button
  • Loading branch information
yileifeng authored Sep 24, 2024
2 parents d7f5346 + 2c2c227 commit 1eb601f
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 @@ -896,7 +896,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 @@ -1284,7 +1284,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 1eb601f

Please sign in to comment.