Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Nov 14, 2022
1 parent 2a91b3a commit 1d4cac2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const MonitorCompleteCount = (props: MonitorCompleteCountProps) => {

const monitorId = useMonitorQueryId();

if (!monitorId) {
return null;
}

return (
<ExploratoryViewEmbeddable
align="left"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export const MonitorCompleteSparklines = (props: Props) => {

const { euiTheme } = useEuiTheme();

if (!monitorId) {
return null;
}

return (
<ExploratoryViewEmbeddable
reportType="kpi-over-time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const MonitorTotalRunsCount = (props: MonitorTotalRunsCountProps) => {

const monitorId = useMonitorQueryId();

if (!monitorId) {
return null;
}

return (
<ExploratoryViewEmbeddable
align="left"
Expand Down

0 comments on commit 1d4cac2

Please sign in to comment.