1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Making "since" date visible as bolded text

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-01-20 11:47:20 +03:00
parent d8e088f352
commit cbb8b8edc9

View File

@ -41,7 +41,12 @@ export const LogControls = observer((props: Props) => {
return ( return (
<div className={cssNames("LogControls flex gaps align-center justify-space-between wrap")}> <div className={cssNames("LogControls flex gaps align-center justify-space-between wrap")}>
<div className="time-range"> <div className="time-range">
{since && `Logs from ${new Date(since[0]).toLocaleString()}`} {since && (
<span>
Logs from{" "}
<b>{new Date(since[0]).toLocaleString()}</b>
</span>
)}
</div> </div>
<div className="flex gaps align-center"> <div className="flex gaps align-center">
<Checkbox <Checkbox