💄 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">
<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>

View File

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