mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +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">
|
||||
<span>{update.title}</span>
|
||||
<Badge
|
||||
variant="secondary"
|
||||
className="bg-black text-white dark:bg-white dark:text-black"
|
||||
variant={
|
||||
update.type === "Important"
|
||||
? "yellow"
|
||||
: "secondary"
|
||||
}
|
||||
className={cn(
|
||||
update.type === "New" &&
|
||||
"bg-black text-white dark:bg-white dark:text-black"
|
||||
)}
|
||||
>
|
||||
{update.type}
|
||||
</Badge>
|
||||
|
||||
Reference in New Issue
Block a user