make delete handy color
This commit is contained in:
parent
0bb6073108
commit
3eb370df80
1 changed files with 2 additions and 2 deletions
|
|
@ -217,11 +217,11 @@ const ModelCard: React.FC<ModelCardProps> = ({
|
||||||
)}
|
)}
|
||||||
{onDelete && (status === "available" || status === "active") && (
|
{onDelete && (status === "available" || status === "active") && (
|
||||||
<Button
|
<Button
|
||||||
variant="danger-ghost"
|
variant="ghost"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleDelete}
|
onClick={handleDelete}
|
||||||
title={t("modelSelector.deleteModel", { modelName: displayName })}
|
title={t("modelSelector.deleteModel", { modelName: displayName })}
|
||||||
className="flex items-center gap-1.5 ml-auto"
|
className="flex items-center gap-1.5 ml-auto text-logo-primary/85 hover:text-logo-primary hover:bg-logo-primary/10"
|
||||||
>
|
>
|
||||||
<Trash2 className="w-3.5 h-3.5" />
|
<Trash2 className="w-3.5 h-3.5" />
|
||||||
<span>{t("common.delete")}</span>
|
<span>{t("common.delete")}</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue