Skip to content

Commit

Permalink
Bypass prop mutation warning in ColumnSelector -- others in this file…
Browse files Browse the repository at this point in the history
… already are flagged as such and I assume it has test coverage...
  • Loading branch information
dannon committed Oct 18, 2024
1 parent 5db3f85 commit 02bf1ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/RuleBuilder/ColumnSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ export default {
},
moveUp(value) {
const swapVal = this.target[value - 1];
// eslint-disable-next-line vue/no-mutating-props
this.target[value - 1] = this.target[value];
// eslint-disable-next-line vue/no-mutating-props
this.target[value] = swapVal;
},
},
Expand Down

0 comments on commit 02bf1ca

Please sign in to comment.