From ef2a6caaca06e00e2381439493f6fa1665b199d5 Mon Sep 17 00:00:00 2001 From: kshitij katiyar <90389917+Kshitij-Katiyar@users.noreply.github.com> Date: Thu, 29 Dec 2022 18:45:47 +0530 Subject: [PATCH] [MI-2514]:Fixed issue #867 of jira (#27) --- webapp/src/components/jira_field.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/jira_field.jsx b/webapp/src/components/jira_field.jsx index 112fa2c04..199cc83da 100644 --- a/webapp/src/components/jira_field.jsx +++ b/webapp/src/components/jira_field.jsx @@ -175,7 +175,7 @@ export default class JiraField extends React.Component { } const onChange = (id, val) => { - const newValue = val.map((v) => ({id: v})); + const newValue = val ? val.map((v) => ({id: v})) : []; this.props.onChange(id, newValue); };