IO-3166-Global-Notifications-Part-2 - Checkpoint

This commit is contained in:
Dave Richer
2025-03-06 16:02:01 -05:00
parent 53580fbc78
commit 2cee5f1944
7 changed files with 130 additions and 108 deletions

View File

@@ -140,7 +140,7 @@ export default function JobWatcherToggleComponent({
);
return (
<Popover content={popoverContent} trigger="click" open={open} onOpenChange={setOpen}>
<Popover placement="topRight" content={popoverContent} trigger="click" open={open} onOpenChange={setOpen}>
<Tooltip title={t("notifications.tooltips.job-watchers")}>
<Button
shape="circle"

View File

@@ -51,7 +51,7 @@ const NotificationCenterComponent = forwardRef(
<div className="notification-content">
<Title level={5} className="notification-title">
<span className="ro-number">
{t("notifications.labels.ro-number", { ro_number: notification.roNumber })}
{t("notifications.labels.ro-number", { ro_number: notification.roNumber || t("general.labels.na") })}
</span>
<Text type="secondary" className="relative-time" title={DateTimeFormat(notification.created_at)}>
{day(notification.created_at).fromNow()}