mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update SelectAllButton.svelte
This commit is contained in:
parent
6ecf2d7b72
commit
a9f62f59de
1 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
|||
<script>
|
||||
import OutlineButton from '~/components/OutlineButton.svelte'
|
||||
import { selected, filteredChannels } from '~/store'
|
||||
|
||||
$: hasStreams = $filteredChannels.filter(c => c.streams > 0)
|
||||
import { selected, filteredChannels, channels } from '~/store'
|
||||
|
||||
$: hasStreams = $channels.filter(c => c.streams > 0)
|
||||
$: isAllSelected = $selected.length === hasStreams.length
|
||||
|
||||
function selectAll() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue