fix: disable empty platform selection
This commit is contained in:
parent
ad893594ae
commit
1f5ed4efe9
@ -116,6 +116,7 @@
|
||||
<th class="w-12 text-center">
|
||||
<input type="checkbox" aria-label="{{ trans('store_zhongcai_reconciliations.select_all') }}"
|
||||
@if ($pageIds->isEmpty()) disabled @endif
|
||||
x-bind:disabled="platformIds[activePlatform].length === 0"
|
||||
x-on:change="selected = $event.target.checked ? platformIds[activePlatform] : []"
|
||||
x-bind:checked="selected.length === platformIds[activePlatform].length && selected.length > 0"
|
||||
class="h-4 w-4 rounded border-gray-300 text-green" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user