Skip to content

Commit

Permalink
Merge pull request #2858 from glific/fixes/triggers
Browse files Browse the repository at this point in the history
Fixes/triggers
  • Loading branch information
mdshamoon authored Apr 16, 2024
2 parents 759b947 + cf157ac commit 8dd46a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/containers/Trigger/Trigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ const setPayload = (payload: any, roles: any, groupType: any) => {
days: [],
hours: [],
groupIds: groups,
startDate: dayjs(startAt).utc().format(ISO_DATE_FORMAT),
endDate: dayjs(endDate).utc().format(ISO_DATE_FORMAT),
startDate: dayjs(startAt).format(ISO_DATE_FORMAT),
endDate: dayjs(endDate).format(ISO_DATE_FORMAT),
startTime: dayjs(startAt).utc().format(EXTENDED_TIME_FORMAT),
frequency: frequency.value,
roles: payload.roles,
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Trigger/TriggerType/TriggerType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const TriggerType = ({
value={CONTACTS_COLLECTION}
checked={isChecked(CONTACTS_COLLECTION)}
control={<Radio color="primary" />}
label={'Contact'}
label={'WABA Collections'}
className={styles.Label}
/>
</div>
Expand All @@ -51,7 +51,7 @@ export const TriggerType = ({
value={WA_GROUPS_COLLECTION}
checked={isChecked(WA_GROUPS_COLLECTION)}
control={<Radio color="primary" />}
label={'WhatsApp Group'}
label={'WhatsApp Group Collections'}
className={styles.Label}
/>
</div>
Expand Down

0 comments on commit 8dd46a6

Please sign in to comment.