mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-14 11:00:05 -04:00
Update src/
This commit is contained in:
parent
e411cec545
commit
2a893a827b
33 changed files with 416 additions and 186 deletions
|
@ -5,6 +5,8 @@
|
|||
import { Channel } from '~/models'
|
||||
import * as Icon from '~/icons'
|
||||
|
||||
export let variant = 'default'
|
||||
|
||||
const channelsWithStreams: Collection = $channels.filter((channel: Channel) =>
|
||||
channel.hasStreams()
|
||||
)
|
||||
|
@ -91,11 +93,11 @@
|
|||
<Icon.Spinner size={21} />
|
||||
</div>
|
||||
{:else if isAllSelected}
|
||||
<IconButton onClick={deselectAll} aria-label="Deselect All" title="Deselect All" variant="light">
|
||||
<IconButton onClick={deselectAll} aria-label="Deselect All" title="Deselect All" {variant}>
|
||||
<Icon.DeselectAll size={24} />
|
||||
</IconButton>
|
||||
{:else}
|
||||
<IconButton onClick={selectAll} aria-label="Select All" title="Select All" variant="light">
|
||||
<IconButton onClick={selectAll} aria-label="Select All" title="Select All" {variant}>
|
||||
<Icon.SelectAll size={24} />
|
||||
</IconButton>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue