Use Calendar component view=day for drop-in replacement troubleshooter (#6869)

* Use Calendar component view=day for drop-in replacement troubleshooter

* Setting the id to undefined makes the busy time selected

* Updated event title to include title+source
This commit is contained in:
Alex van Andel authored and GitHub committed 2023-02-03 16:43:52 +00:00
1 parent 0a4b1ca014
commit f18e80cfcf
3 files changed
+35 -83

No files matched your search

@@ -14,7 +14,8 @@ export function SchedulerHeading() {
return (
<header className="flex flex-none flex-col justify-between py-4 sm:flex-row sm:items-center">
<h1 className="text-xl font-semibold text-gray-900">
{startDate.format("MMM DD")}-{endDate.format("DD")}
{startDate.format("MMM DD")}
{!startDate.isSame(endDate, "day") ? `-${endDate.format("DD")}` : ""}
<span className="text-gray-500">,{startDate.format("YYYY")}</span>
</h1>
<div className="flex items-center space-x-2 rtl:space-x-reverse">