feat: Removed the standalone Playlists button from ChannelDetail — scan…
- "src/frontend/src/pages/ChannelDetail.tsx" GSD-Task: S03/T02
This commit is contained in:
parent
8ebacba3e1
commit
4cabcfbb4c
1 changed files with 1 additions and 16 deletions
|
|
@ -1326,22 +1326,7 @@ export function ChannelDetail() {
|
||||||
)}
|
)}
|
||||||
{collectMonitored.isPending ? 'Collecting…' : 'Collect'}
|
{collectMonitored.isPending ? 'Collecting…' : 'Collect'}
|
||||||
</button>
|
</button>
|
||||||
{isYouTube ? (
|
|
||||||
<button
|
|
||||||
onClick={handleRefreshPlaylists}
|
|
||||||
disabled={refreshPlaylists.isPending}
|
|
||||||
title="Refresh Playlists"
|
|
||||||
className="btn btn-ghost"
|
|
||||||
style={{ opacity: refreshPlaylists.isPending ? 0.6 : 1 }}
|
|
||||||
>
|
|
||||||
{refreshPlaylists.isPending ? (
|
|
||||||
<Loader size={14} style={{ animation: 'spin 1s linear infinite' }} />
|
|
||||||
) : (
|
|
||||||
<ListMusic size={14} />
|
|
||||||
)}
|
|
||||||
{refreshPlaylists.isPending ? 'Refreshing…' : 'Playlists'}
|
|
||||||
</button>
|
|
||||||
) : null}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue