From ce976c110819214520bbba0ab327d486f1b9f33e Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 17 Jun 2025 00:16:34 +0200 Subject: [PATCH] Lint --- resources/js/views/form/Conditions.vue | 3 +-- resources/js/views/form/Index.vue | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/resources/js/views/form/Conditions.vue b/resources/js/views/form/Conditions.vue index 6f0dcfe7..3fb2ba54 100644 --- a/resources/js/views/form/Conditions.vue +++ b/resources/js/views/form/Conditions.vue @@ -100,7 +100,7 @@ function changeMode(mode) { function update(index, key, value) { const inner = {...props.modelValue}; if (key === 'comparator') { - var old = inner.ifs[index]; + const old = inner.ifs[index]; inner.ifs[index] = { field: old.field, comparator: value, @@ -108,7 +108,6 @@ function update(index, key, value) { }; } if (key === 'field') { - var old = inner.ifs[index]; inner.ifs[index] = { field: value, comparator: null, diff --git a/resources/js/views/form/Index.vue b/resources/js/views/form/Index.vue index 62c05383..073d81d0 100644 --- a/resources/js/views/form/Index.vue +++ b/resources/js/views/form/Index.vue @@ -80,13 +80,13 @@
-