Updated datepicker popover to not close on date select
• Updated: - datepicker popover to not close on date select - close only if is not pro. in that case, show pro updgrade modal
This commit is contained in:
parent
dd633ebf7e
commit
11969af782
@ -22,9 +22,8 @@ const mapStateToProps = (state) => ({
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
setScheduledAt (date, isPro) {
|
||||
dispatch(closePopover())
|
||||
|
||||
if (!isPro) {
|
||||
dispatch(closePopover())
|
||||
return dispatch(openModal(MODAL_PRO_UPGRADE))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user