From c11b06e22f98ffa2e38f71844a278ec13dca8c4d Mon Sep 17 00:00:00 2001 From: Chetna Joshi Date: Wed, 27 May 2020 19:06:02 +0530 Subject: [PATCH] fix single slot event issue --- src/assets/languages/en.json | 4 ++-- .../SignupEventHistoryLeftPanel.js | 12 ++++++------ .../SignupEventInvitationLeftPanel.js | 7 +++---- .../SignupEventInvitationRightPanel.js | 2 +- .../EventSignupHistory/EventSignupHistory.styles.js | 4 ++++ .../EventSignupInvitation.styles.js | 4 ++++ 6 files changed, 20 insertions(+), 13 deletions(-) diff --git a/src/assets/languages/en.json b/src/assets/languages/en.json index e0a407576..927e25280 100644 --- a/src/assets/languages/en.json +++ b/src/assets/languages/en.json @@ -1510,8 +1510,8 @@ "desc": "Description", "location": "Location", "timeZone": "Time Zone", - "startDateTime": "Start Date/Time", - "endDateTime": "End Date/Time", + "startDateTime": "Start Date & Time", + "endDateTime": "End Date & Time", "addMultileSlot": "Add Multiple Time Slots" }, "btns": { diff --git a/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryLeftPanel/SignupEventHistoryLeftPanel.js b/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryLeftPanel/SignupEventHistoryLeftPanel.js index a4713abfb..54fcc8faf 100644 --- a/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryLeftPanel/SignupEventHistoryLeftPanel.js +++ b/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryLeftPanel/SignupEventHistoryLeftPanel.js @@ -26,7 +26,7 @@ class SignupEventHistoryLeftPanel extends React.Component { isShowParticipants: false, isShowSlotDetail: false, searchedHistory: "", - sortingField: sortFieldNames[1], + sortingField: sortFieldNames[1], activeEventIndex: -1 } } @@ -100,11 +100,11 @@ class SignupEventHistoryLeftPanel extends React.Component { { diff --git a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationLeftPanel/SignupEventInvitationLeftPanel.js b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationLeftPanel/SignupEventInvitationLeftPanel.js index 6f2a7597d..a7bce84f1 100644 --- a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationLeftPanel/SignupEventInvitationLeftPanel.js +++ b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationLeftPanel/SignupEventInvitationLeftPanel.js @@ -82,19 +82,18 @@ class SignupEventInvitationLeftPanel extends React.Component { -
diff --git a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js index 8e5b90b07..a64fe5d3e 100644 --- a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js +++ b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js @@ -57,7 +57,7 @@ class SignupEventInvitationRightPanel extends React.Component {
{t('eventSignup.viewEventSlot')}
- {currentEventInvitation.slotIdList.length === 0 || currentEventInvitation.event.eventSlotsList.length === 1 ? + {currentEventInvitation.slotIdList.length === 0 && currentEventInvitation.event.eventSlotsList.length === 1 ?
    diff --git a/src/layouts/EventSignupHistory/EventSignupHistory.styles.js b/src/layouts/EventSignupHistory/EventSignupHistory.styles.js index a32a5e596..fccef754d 100644 --- a/src/layouts/EventSignupHistory/EventSignupHistory.styles.js +++ b/src/layouts/EventSignupHistory/EventSignupHistory.styles.js @@ -346,6 +346,10 @@ export default (theme, contactAvatarImg) => ({ } }, + liDisable:{ + pointerEvents: 'none', + opacity: 0.6 + }, historyInfoContent: { fontWeight: "600", diff --git a/src/layouts/EventSignupInvitation/EventSignupInvitation.styles.js b/src/layouts/EventSignupInvitation/EventSignupInvitation.styles.js index b1cba513b..346336d67 100644 --- a/src/layouts/EventSignupInvitation/EventSignupInvitation.styles.js +++ b/src/layouts/EventSignupInvitation/EventSignupInvitation.styles.js @@ -325,6 +325,10 @@ export default (theme, contactAvatarImg) => ({ } }, + liDisable:{ + pointerEvents: 'none', + opacity: 0.6 + }, historyInfoContent: { fontWeight: "600", color: "#777", -- GitLab