Skip to content

Commit

Permalink
Reordered if checks
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored Feb 24, 2025
1 parent d0c685e commit fa23e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/input/select/region.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<template v-if="data && data.country.available_regions">
<x-rapidez::input.select
{{ $attributes }}
v-if="'{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }}) || {{ Rapidez::config('general/region/display_all', '0') }}"
v-if="{{ Rapidez::config('general/region/display_all', '0') }} || '{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }})"
v-bind:required="'{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }})"
>
<option v-for="region in data.country.available_regions" :value="region.id">
Expand Down

0 comments on commit fa23e69

Please sign in to comment.