💄 show update type in badge

This commit is contained in:
Fred KISSIE
2025-11-07 01:10:20 +01:00
parent f928708156
commit 0b70cbb1a3
2 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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;