feat: reorder Add Playlist button for improved visibility in PlaylistsHeader
Some checks failed
Frontend CI / lint (push) Failing after 18s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-08-16 00:06:33 +02:00
parent 9cfa1f6a28
commit 7b01ace746
2 changed files with 4 additions and 14 deletions

View File

@@ -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>

View File

@@ -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>