mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
💄 show update type in badge
This commit is contained in:
@@ -231,12 +231,12 @@ function ProductUpdatesListPopup({
|
||||
<div className="flex justify-between gap-2 items-start">
|
||||
<h4 className="text-sm font-medium inline-flex items-start gap-1">
|
||||
<span>{update.title}</span>
|
||||
{/* <Badge
|
||||
<Badge
|
||||
variant="secondary"
|
||||
className="bg-black text-white dark:bg-white dark:text-black"
|
||||
>
|
||||
{t("new")}
|
||||
</Badge> */}
|
||||
{update.type}
|
||||
</Badge>
|
||||
</h4>
|
||||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
|
||||
@@ -8,7 +8,7 @@ export type ProductUpdate = {
|
||||
link: string | null;
|
||||
edition: "enterprise" | "community" | "cloud" | null;
|
||||
id: number;
|
||||
priority: "CRITICAL" | "IMPORTANT" | "NORMAL" | null;
|
||||
type: "Update" | "Important" | "New";
|
||||
title: string;
|
||||
contents: string;
|
||||
publishedAt: Date;
|
||||
|
||||
Reference in New Issue
Block a user