feat(notifications): open bell popover
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export type UserNotification = {
|
||||
id: string;
|
||||
operationId?: string | null;
|
||||
kind: string;
|
||||
title: string;
|
||||
message: string;
|
||||
linkPath?: string | null;
|
||||
createdAtUtc: string;
|
||||
readAtUtc?: string | null;
|
||||
};
|
||||
|
||||
export function notificationDateLabel(value: string): string {
|
||||
const date = new Date(value);
|
||||
return Number.isNaN(date.getTime()) ? "" : date.toLocaleString();
|
||||
}
|
||||
Reference in New Issue
Block a user