Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

#598 [DEV] Hide connect calendar feature #599

Merged
merged 1 commit into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,17 +247,19 @@ const ManageAvailability = ({ scheduleDetails, onContinue }) => {
</div>

<div styleName="button-wrapper">
<div
onClick={() =>
onContinue(POPUP_STAGES.MANAGE_CALENDAR, {
timezone,
slots,
})
}
styleName="manage-calendar"
>
Manage connected calendar
</div>
{/* issue #598, hide `Manage connected calendar` button temporarily */}
<div></div>
{/* <div */}
{/* onClick={() => */}
{/* onContinue(POPUP_STAGES.MANAGE_CALENDAR, { */}
{/* timezone, */}
{/* slots, */}
{/* }) */}
{/* } */}
{/* styleName="manage-calendar" */}
{/* > */}
{/* Manage connected calendar */}
{/* </div> */}
<Button
onClick={() => onContinueAhead()}
disabled={isDisabled()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,18 @@ const SelectDuration = ({ onContinue, onGoBack, scheduleDetails }) => {
</div>
</div>
<div styleName="button-wrapper">
<div
onClick={() =>
onContinue(POPUP_STAGES.MANAGE_CALENDAR, {
duration,
})
}
styleName="manage-calendar"
>
Manage connected calendar
</div>
{/* issue #598, hide `Manage connected calendar` button temporarily */}
<div></div>
{/* <div */}
{/* onClick={() => */}
{/* onContinue(POPUP_STAGES.MANAGE_CALENDAR, { */}
{/* duration, */}
{/* }) */}
{/* } */}
{/* styleName="manage-calendar" */}
{/* > */}
{/* Manage connected calendar */}
{/* </div> */}
<div styleName="button-wrapper-right-pane">
<Button
styleName="back-button"
Expand Down