Skip to content

Commit

Permalink
refactor: fix vue warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Oct 15, 2024
1 parent 1b2d497 commit 3922576
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
10 changes: 4 additions & 6 deletions src/components/FilterComboInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ const emits = defineEmits(['changeOperator', 'changeValue']);
:key="valueOption.code"
:value="valueOption.code"
>
<span
>{{ valueOption.code
}}{{
valueOption.name ? ' - ' + valueOption.name : null
}}</span
>
{{
valueOption.code +
(valueOption.name ? ' - ' + valueOption.name : null)
}}
</option>
</datalist>
</div>
Expand Down
10 changes: 4 additions & 6 deletions src/components/FilterSelectInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ const global = inject('global');
)
"
>
<span
>{{ valueOption.code
}}{{
valueOption.name ? ' - ' + valueOption.name : null
}}</span
>
{{
valueOption.code +
(valueOption.name ? ' - ' + valueOption.name : null)
}}
</option>
</select>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/LanguageSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const global = inject('global');
:key="langKey"
:value="langKey"
>
<span>{{ langText }}</span>
{{ langText }}
</option>
</select>
</div>
Expand Down

0 comments on commit 3922576

Please sign in to comment.