diff --git a/backend/src/components/message.js b/backend/src/components/message.js index 1bce6b6c..a5d7642a 100644 --- a/backend/src/components/message.js +++ b/backend/src/components/message.js @@ -16,7 +16,7 @@ function mapMessageObjectForFront(data) { function mapAssistanceRequestObjectForBack(data) { let assistanceRequest = new MappableObjectForBack(data, AssistanceRequestMappings).toJSON() - if (assistanceRequest['ofm_contact_method'] == '1') delete assistanceRequest['ofm_telephone'] + if (assistanceRequest['ofm_contact_method'] === '1') delete assistanceRequest['ofm_telephone'] assistanceRequest['ofm_request_category@odata.bind'] = `/ofm_request_categories(${data?.requestCategoryId})` assistanceRequest['ofm_contact@odata.bind'] = `/contacts(${data?.contactId})` assistanceRequest['ofm_facility_request_request'] = [] diff --git a/frontend/src/components/messages/MessagesTab.vue b/frontend/src/components/messages/MessagesTab.vue index 0a42c600..16555a6e 100644 --- a/frontend/src/components/messages/MessagesTab.vue +++ b/frontend/src/components/messages/MessagesTab.vue @@ -1,17 +1,83 @@ - + diff --git a/frontend/src/components/messages/NewRequestConfirmationDialog.vue b/frontend/src/components/messages/NewRequestConfirmationDialog.vue index 78ce8935..64b1d692 100644 --- a/frontend/src/components/messages/NewRequestConfirmationDialog.vue +++ b/frontend/src/components/messages/NewRequestConfirmationDialog.vue @@ -1,18 +1,18 @@