fix(ui): doppelten 'Neu'-Tab vermeiden Backend benennt Tab in 'Neu (10)' um; nur ein Neu-Tab im Frontend

This commit is contained in:
vibe-bot 2025-08-08 15:15:42 +02:00
parent 33866a1fa5
commit 018c36487d
2 changed files with 1 additions and 16 deletions

View file

@ -332,7 +332,7 @@ app.get('/api/sounds', (req: Request, res: Response) => {
const recentCount = Math.min(10, total);
const foldersOut = [
{ key: '__all__', name: 'Alle', count: total },
{ key: '__recent__', name: 'Neu', count: recentCount },
{ key: '__recent__', name: 'Neu (10)', count: recentCount },
...folders
];
// isRecent-Flag für UI (Top 5 der neuesten)