From 02bf1cafccd3737714937e52a7705074b3063021 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 17 Oct 2024 21:41:28 -0400 Subject: [PATCH] Bypass prop mutation warning in ColumnSelector -- others in this file already are flagged as such and I assume it has test coverage... --- client/src/components/RuleBuilder/ColumnSelector.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/RuleBuilder/ColumnSelector.vue b/client/src/components/RuleBuilder/ColumnSelector.vue index 0711dd8ada86..e5d21b529cea 100644 --- a/client/src/components/RuleBuilder/ColumnSelector.vue +++ b/client/src/components/RuleBuilder/ColumnSelector.vue @@ -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; }, },