Skip to content

Commit

Permalink
fix data check
Browse files Browse the repository at this point in the history
convert data to boolean using three !
  • Loading branch information
LeoQuote authored Mar 27, 2024
1 parent 9b06591 commit 692dd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/HForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default {
const jsonFormData = {}
for (const [name, data] of Object.entries(this.formData)) {
if (!data) {
if (!!!data) {

Check failure on line 210 in frontend/components/HForm.vue

View workflow job for this annotation

GitHub Actions / Build frontend

Redundant double negation

Check failure on line 210 in frontend/components/HForm.vue

View workflow job for this annotation

GitHub Actions / Build frontend

Redundant double negation

Check failure on line 210 in frontend/components/HForm.vue

View workflow job for this annotation

GitHub Actions / Build frontend

Redundant double negation

Check failure on line 210 in frontend/components/HForm.vue

View workflow job for this annotation

GitHub Actions / Build frontend

Redundant double negation
continue
}
Expand Down

0 comments on commit 692dd6c

Please sign in to comment.