diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index c0bdb577..d93285dd 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -383,14 +383,27 @@ +
+ {{ activity.data.subject }} +
- TO: + TO: {{ activity.data.recipients }} , - CC: + + CC: + {{ activity.data.cc }} , - BCC: + + BCC: + {{ activity.data.bcc }}
@@ -405,7 +418,9 @@
-
+
{{ activity.owner_name }} diff --git a/frontend/src/components/Controls/MultiselectInput.vue b/frontend/src/components/Controls/MultiselectInput.vue index 139672f3..05b57ad7 100644 --- a/frontend/src/components/Controls/MultiselectInput.vue +++ b/frontend/src/components/Controls/MultiselectInput.vue @@ -195,14 +195,18 @@ const addValue = (value) => { value = value.trim() if (value) { // check if value is not already in the values array - if (!values.value.includes(value)) { + if (!values.value?.includes(value)) { // check if value is valid if (value && props.validate && !props.validate(value)) { error.value = props.errorMessage(value) return } // add value to values array - values.value.push(value) + if (!values.value) { + values.value = [value] + } else { + values.value.push(value) + } value = value.replace(value, '') } }