Skip to content

Commit

Permalink
addressed low sev bug fixes (opendistro-for-elasticsearch#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcui1225 authored and zhongnansu committed Dec 4, 2020
1 parent e1b527e commit 0ccdb2d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const popoverMenu = () => {
<span class="euiContextMenuItem__text" style="padding-left: 10px; padding-right: 10px; margin-top: 10px; box-decoration-break: clone; display: inline-block;">
Files can take a minute or two
to generate depending on the
size of your dashboard
size of your source data
</span>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@ export function ReportDefinitionDetails(props) {
// TODO: need better display
timePeriod: moment.duration(timeDuration).humanize(),
fileFormat: reportFormat,
reportHeader: reportParams.core_params.hasOwnProperty('header')
reportHeader: reportParams.core_params.hasOwnProperty('header') && reportParams.core_params.header != ""
? converter.makeMarkdown(reportParams.core_params.header)
: `\u2014`,
reportFooter: reportParams.core_params.hasOwnProperty('footer')
reportFooter: reportParams.core_params.hasOwnProperty('footer') && reportParams.core_params.footer != ""
? converter.makeMarkdown(reportParams.core_params.footer)
: `\u2014`,
triggerType: triggerType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,11 @@ exports[`<ReportDetails /> panel render 5 hours recurring component 1`] = `
</dt>
<dd
class="euiDescriptionList__description"
/>
>
<p>
</p>
</dd>
</dl>
</div>
<div
Expand All @@ -264,7 +268,11 @@ exports[`<ReportDetails /> panel render 5 hours recurring component 1`] = `
</dt>
<dd
class="euiDescriptionList__description"
/>
>
<p>
</p>
</dd>
</dl>
</div>
<div
Expand Down Expand Up @@ -636,7 +644,11 @@ exports[`<ReportDetails /> panel render on-demand component 1`] = `
</dt>
<dd
class="euiDescriptionList__description"
/>
>
<p>
</p>
</dd>
</dl>
</div>
<div
Expand All @@ -652,7 +664,11 @@ exports[`<ReportDetails /> panel render on-demand component 1`] = `
</dt>
<dd
class="euiDescriptionList__description"
/>
>
<p>
</p>
</dd>
</dl>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ export function ReportDetails(props) {
time_period: parseTimePeriod(queryUrl),
defaultFileFormat: coreParams.report_format,
state: state,
reportHeader: reportParams.core_params.hasOwnProperty('header')
reportHeader: reportParams.core_params.hasOwnProperty('header') && reportParams.core_params.header != ""
? converter.makeMarkdown(reportParams.core_params.header)
: `\u2014`,
reportFooter: reportParams.core_params.hasOwnProperty('footer')
reportFooter: reportParams.core_params.hasOwnProperty('footer') && reportParams.core_params.footer != ""
? converter.makeMarkdown(reportParams.core_params.footer)
: `\u2014`,
triggerType: triggerType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export function ReportTrigger(props: ReportTriggerProps) {
error={'Invalid cron expression.'}
labelAppend={
<EuiText size="xs">
<EuiLink href="https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/cron/">
<EuiLink href="https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/cron/" target="_blank">
Cron help
</EuiLink>
</EuiText>
Expand Down

0 comments on commit 0ccdb2d

Please sign in to comment.