mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +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">
|
<div className="flex justify-between gap-2 items-start">
|
||||||
<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="secondary"
|
||||||
className="bg-black text-white dark:bg-white dark:text-black"
|
className="bg-black text-white dark:bg-white dark:text-black"
|
||||||
>
|
>
|
||||||
{t("new")}
|
{update.type}
|
||||||
</Badge> */}
|
</Badge>
|
||||||
</h4>
|
</h4>
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export type ProductUpdate = {
|
|||||||
link: string | null;
|
link: string | null;
|
||||||
edition: "enterprise" | "community" | "cloud" | null;
|
edition: "enterprise" | "community" | "cloud" | null;
|
||||||
id: number;
|
id: number;
|
||||||
priority: "CRITICAL" | "IMPORTANT" | "NORMAL" | null;
|
type: "Update" | "Important" | "New";
|
||||||
title: string;
|
title: string;
|
||||||
contents: string;
|
contents: string;
|
||||||
publishedAt: Date;
|
publishedAt: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user