feat: reorder Add Playlist button for improved visibility in PlaylistsHeader
This commit is contained in:
@@ -48,15 +48,15 @@ export function PlaylistsHeader({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<Button onClick={onCreateClick}>
|
|
||||||
<Plus className="h-4 w-4 mr-2" />
|
|
||||||
Add Playlist
|
|
||||||
</Button>
|
|
||||||
{!loading && !error && (
|
{!loading && !error && (
|
||||||
<div className="text-sm text-muted-foreground">
|
<div className="text-sm text-muted-foreground">
|
||||||
{playlistCount} playlist{playlistCount !== 1 ? 's' : ''}
|
{playlistCount} playlist{playlistCount !== 1 ? 's' : ''}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
<Button onClick={onCreateClick}>
|
||||||
|
<Plus className="h-4 w-4 mr-2" />
|
||||||
|
Add Playlist
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -298,16 +298,6 @@ export function ExtractionsPage() {
|
|||||||
<ExternalLink className="h-4 w-4" />
|
<ExternalLink className="h-4 w-4" />
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
{extraction.status === 'completed' &&
|
|
||||||
extraction.sound_id && (
|
|
||||||
<Button
|
|
||||||
variant="ghost"
|
|
||||||
size="sm"
|
|
||||||
title="View in Sounds"
|
|
||||||
>
|
|
||||||
<Download className="h-4 w-4" />
|
|
||||||
</Button>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user