Skip to content

Commit

Permalink
Merge pull request #262 from RyanCoulsonCA/fix-258
Browse files Browse the repository at this point in the history
fix switching between tabs when editing dynamic panel
  • Loading branch information
yileifeng authored Mar 12, 2024
2 parents d0e36a3 + b691e93 commit c43cd4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/editor/dynamic-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ export default class DynamicEditorV extends Vue {
}
changePanel(target: string): void {
this.saveChanges();
if (this.editingStatus !== 'text') {
this.saveChanges();
}
this.editingStatus = target;
}
Expand Down

0 comments on commit c43cd4b

Please sign in to comment.