Merge branch 'feature/notify-via-SMS' of https://github.com/bigcapitalhq/client into feature/notify-via-SMS

This commit is contained in:
a.bouhuolia
2021-11-10 22:02:46 +02:00

View File

@@ -69,7 +69,7 @@ export function useSMSIntegrationTableColumns({ onSwitchChange }) {
() => [ () => [
{ {
id: 'notification', id: 'notification',
Header: intl.get('sms_message.label_Notification'), Header: intl.get('sms_messages.label_notification'),
accessor: NotificationAccessor, accessor: NotificationAccessor,
className: 'notification', className: 'notification',
width: '180', width: '180',
@@ -83,7 +83,7 @@ export function useSMSIntegrationTableColumns({ onSwitchChange }) {
disableSortBy: true, disableSortBy: true,
}, },
{ {
Header: intl.get('sms_message.label_mesage'), Header: intl.get('sms_messages.label_mesage'),
accessor: 'sms_message', accessor: 'sms_message',
Cell: SMSMessageCell, Cell: SMSMessageCell,
className: 'sms_message', className: 'sms_message',
@@ -92,7 +92,7 @@ export function useSMSIntegrationTableColumns({ onSwitchChange }) {
disableSortBy: true, disableSortBy: true,
}, },
{ {
Header: intl.get('sms_message.label_auto'), Header: intl.get('sms_messages.label_auto'),
accessor: 'is_notification_enabled', accessor: 'is_notification_enabled',
Cell: SwitchFieldCell, Cell: SwitchFieldCell,
className: 'is_notification_enabled', className: 'is_notification_enabled',