fix: mismatched JSX closing tag in ModelManagement

This commit is contained in:
James Pine
2026-03-13 03:59:30 -07:00
parent d64e24d422
commit 1f770a157d
@@ -773,7 +773,7 @@ export function ModelManagement() {
</AlertDialogFooter> </AlertDialogFooter>
</AlertDialogContent> </AlertDialogContent>
</AlertDialog> </AlertDialog>
</Card> </div>
); );
} }
@@ -848,16 +848,19 @@ function ModelItem({ model, onDownload, onDelete, isDownloading, formatSize }: M
disabled={model.loaded} disabled={model.loaded}
title={model.loaded ? 'Unload model before deleting' : 'Delete model'} title={model.loaded ? 'Unload model before deleting' : 'Delete model'}
aria-label={ aria-label={
model.loaded model.loaded ? 'Unload model before deleting' : `Delete ${model.display_name}`
? 'Unload model before deleting'
: `Delete ${model.display_name}`
} }
> >
<Trash2 className="h-4 w-4" /> <Trash2 className="h-4 w-4" />
</Button> </Button>
</div> </div>
) : showDownloading ? ( ) : showDownloading ? (
<Button size="sm" variant="outline" disabled aria-label={`${model.display_name} downloading`}> <Button
size="sm"
variant="outline"
disabled
aria-label={`${model.display_name} downloading`}
>
<Loader2 className="h-4 w-4 mr-2 animate-spin" /> <Loader2 className="h-4 w-4 mr-2 animate-spin" />
Downloading... Downloading...
</Button> </Button>