From 0b70cbb1a3ad0e34108ecdd73c882b3ad1cb3d72 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Fri, 7 Nov 2025 01:10:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20show=20update=20type=20in=20badg?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProductUpdates.tsx | 6 +++--- src/lib/queries.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ProductUpdates.tsx b/src/components/ProductUpdates.tsx index 83fa32e6..094acd5e 100644 --- a/src/components/ProductUpdates.tsx +++ b/src/components/ProductUpdates.tsx @@ -231,12 +231,12 @@ function ProductUpdatesListPopup({

{update.title} - {/* - {t("new")} - */} + {update.type} +

diff --git a/src/lib/queries.ts b/src/lib/queries.ts index d8e4ee89..53aaeee7 100644 --- a/src/lib/queries.ts +++ b/src/lib/queries.ts @@ -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;