Skip to content

Commit 8dd42c3

Browse files
committed
added more details to log
1 parent edbe192 commit 8dd42c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/src/app/[username]/logs.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import {
2121
School,
2222
TreePalm,
2323
Newspaper,
24+
Calendar1,
25+
Timer,
2426
} from "lucide-react";
2527
import {
2628
Tooltip,
@@ -53,6 +55,11 @@ const DATA_ICONS = {
5355
roomsCount: [<School className="h-3 w-3 mr-0.5" />, "rooms"],
5456
holidaysCount: [<TreePalm className="h-3 w-3 mr-0.5" />, "holidays"],
5557
newsCount: [<Newspaper className="h-3 w-3 mr-0.5" />, "news"],
58+
calendarTitle: [
59+
<Calendar1 className="h-3 w-3 mr-0.5" />,
60+
"Google Calendar title",
61+
],
62+
duration: [<Timer className="h-3 w-3 mr-0.5" />, "time elapsed"],
5663
};
5764

5865
export default function Logs({ user, router }) {
@@ -248,6 +255,7 @@ export default function Logs({ user, router }) {
248255
<span className="flex items-center mr-2">
249256
{DATA_ICONS[key][0]}
250257
{value}
258+
{key === "duration" ? "s" : ""}
251259
</span>
252260
</TooltipTrigger>
253261
<TooltipContent>

0 commit comments

Comments
 (0)