Fix/availability not loading (#7789)

* Set default schedule if there is not one

* Removing last schedule sets user.defaultScheduleId to null

* Create new schedule from event type

* First schedule created is the default

* Go back if new schedule was created

* Moved update logic out of getter

* Remove flashing of empty screen

* Add border prop to EmptyScreen

* User requires a schedule

* Change back schema

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Joe Au-YeungandPeer Richelsen authored and GitHub committed 2023-03-27 19:53:35 +00:00
1 parent 867966dd75
commit a2457ab619
9 files changed
+109 -32

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ import {
FiSettings,
FiSlack,
FiUsers,
FiZap
FiZap,
} from "@calcom/ui/components/icon";
import FreshChatProvider from "../ee/support/lib/freshchat/FreshChatProvider";