diff --git a/.eslintrc.yml b/.eslintrc.yml index 02109ce3..652318f0 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -9,7 +9,7 @@ globals: Atomics: readonly SharedArrayBuffer: readonly parserOptions: - ecmaVersion: 2018 + ecmaVersion: 2020 sourceType: module parser: vue-eslint-parser plugins: diff --git a/app/javascript/components/travelEstimateForm.vue b/app/javascript/components/travelEstimateForm.vue index 9fc1d910..971a7514 100644 --- a/app/javascript/components/travelEstimateForm.vue +++ b/app/javascript/components/travelEstimateForm.vue @@ -239,7 +239,7 @@ export default { }); this.$nextTick(() => { const index = this.expenseData.length - 1; - const input = this.$refs?.expense_type?.[index]?.focusSelect(); + this.$refs?.expense_type?.[index]?.focusSelect(); }); }, deleteExpense(expense) {