fix
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 4m3s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 11s

This commit is contained in:
2026-03-31 20:23:54 -03:00
parent 148755243a
commit a73bc27356
2 changed files with 1 additions and 15 deletions
+1 -9
View File
@@ -6,7 +6,6 @@ interface SidebarProps {
selectedId: string | null;
onSelect: (id: string) => void;
onNewClick: () => void;
onDelete?: (id: string) => void;
}
function statusIcon(status: RecommendationSummary['status']): string {
@@ -27,7 +26,7 @@ function statusClass(status: RecommendationSummary['status']): string {
}
}
export function Sidebar({ list, selectedId, onSelect, onNewClick, onDelete }: SidebarProps) {
export function Sidebar({ list, selectedId, onSelect, onNewClick }: SidebarProps) {
return (
<aside class="sidebar">
<div class="sidebar-header">
@@ -57,13 +56,6 @@ export function Sidebar({ list, selectedId, onSelect, onNewClick, onDelete }: Si
<span class={`sidebar-type-badge sidebar-type-${item.media_type}`}>
{item.media_type === 'movie' ? 'Film' : 'TV'}
</span>
{onDelete && (
<button
class="sidebar-item-delete"
onClick={(e) => { e.stopPropagation(); onDelete(item.id); }}
title="Delete"
>×</button>
)}
</li>
))}
</ul>