Skip to content

Commit

Permalink
[4.x] Fix disabled save button when creating term inside term inside …
Browse files Browse the repository at this point in the history
…stack (#9152)

Fix disabled save button when creating term inside term inside stack
  • Loading branch information
duncanmcclean authored Jan 9, 2024
1 parent 081b6a4 commit 2446813
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/js/components/DirtyState.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ const vm = new Vue({
},

remove(name) {
const i = this.names.indexOf(name);
this.names.splice(i, 1);
this.names = this.names.filter(n => n !== name);
},

enableWarning() {
Expand Down

0 comments on commit 2446813

Please sign in to comment.