From b52d0977cb9ca6e30e15e34a4705c6607471f9b9 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Fri, 10 Nov 2023 10:48:36 -0600 Subject: [PATCH] Make date sticky --- src/qqq/components/audits/AuditBody.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/qqq/components/audits/AuditBody.tsx b/src/qqq/components/audits/AuditBody.tsx index f98d540..1a1d5f1 100644 --- a/src/qqq/components/audits/AuditBody.tsx +++ b/src/qqq/components/audits/AuditBody.tsx @@ -402,14 +402,16 @@ function AuditBody({tableMetaData, recordId, record}: Props): JSX.Element return ( - - - - {ValueUtils.getFullWeekday(audit0.values.get("timestamp"))} {timestampParts[0]} - {timestampParts[0] == todayFormatted ? " (Today)" : ""} - {timestampParts[0] == yesterdayFormatted ? " (Yesterday)" : ""} + + + + + {ValueUtils.getFullWeekday(audit0.values.get("timestamp"))} {timestampParts[0]} + {timestampParts[0] == todayFormatted ? " (Today)" : ""} + {timestampParts[0] == yesterdayFormatted ? " (Yesterday)" : ""} + + - {