mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-13 18:40:06 -04:00
Create EditButton component
This commit is contained in:
parent
f0ff03f9cf
commit
f99b1009c2
3 changed files with 36 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
import GuideItem from '~/components/GuideItem.svelte'
|
||||
import StreamItem from '~/components/StreamItem.svelte'
|
||||
import HTMLPreview from '~/components/HTMLPreview.svelte'
|
||||
import EditButton from '~/components/EditButton.svelte'
|
||||
import NavBar from '~/components/NavBar.svelte'
|
||||
import { onMount } from 'svelte'
|
||||
import { fetchChannels, channels } from '~/store'
|
||||
|
@ -51,6 +52,9 @@
|
|||
<div class="w-1/3 overflow-hidden">
|
||||
<h1 class="text-l font-medium text-gray-900 dark:text-white">{channel.name}</h1>
|
||||
</div>
|
||||
<div class="inline-flex w-1/3 justify-end space-x-3">
|
||||
<EditButton {channel} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="overflow-y-auto overflow-x-hidden w-full p-10">
|
||||
<HTMLPreview data={channel} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue