Skip to content

Commit c967f84

Browse files
committed
support unspecified parent field on jira
1 parent 2c5348f commit c967f84

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira_params.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const JiraParamsFields: React.FunctionComponent<ActionParamsProps<JiraActionPara
197197
/>
198198
</EuiFormRow>
199199
<EuiHorizontalRule />
200-
{hasParent && parent && (
200+
{hasParent && (
201201
<>
202202
<EuiFlexGroup>
203203
<EuiFlexItem>

x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/search_issues.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useGetSingleIssue } from './use_get_single_issue';
1414
import * as i18n from './translations';
1515

1616
interface Props {
17-
selectedValue: string | null;
17+
selectedValue?: string | null;
1818
http: HttpSetup;
1919
toastNotifications: Pick<
2020
ToastsApi,

x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/use_get_single_issue.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface Props {
2222
ToastsApi,
2323
'get$' | 'add' | 'remove' | 'addSuccess' | 'addWarning' | 'addDanger' | 'addError'
2424
>;
25-
id: string | null;
25+
id?: string | null;
2626
actionConnector?: ActionConnector;
2727
}
2828

0 commit comments

Comments
 (0)