mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
💄 show update type
This commit is contained in:
@@ -232,8 +232,15 @@ function ProductUpdatesListPopup({
|
|||||||
<h4 className="text-sm font-medium inline-flex items-start gap-1">
|
<h4 className="text-sm font-medium inline-flex items-start gap-1">
|
||||||
<span>{update.title}</span>
|
<span>{update.title}</span>
|
||||||
<Badge
|
<Badge
|
||||||
variant="secondary"
|
variant={
|
||||||
className="bg-black text-white dark:bg-white dark:text-black"
|
update.type === "Important"
|
||||||
|
? "yellow"
|
||||||
|
: "secondary"
|
||||||
|
}
|
||||||
|
className={cn(
|
||||||
|
update.type === "New" &&
|
||||||
|
"bg-black text-white dark:bg-white dark:text-black"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
{update.type}
|
{update.type}
|
||||||
</Badge>
|
</Badge>
|
||||||
|
|||||||
Reference in New Issue
Block a user