diff --git a/components/current-incidents.js b/components/current-incidents.js index 0946d8b..4d4a180 100644 --- a/components/current-incidents.js +++ b/components/current-incidents.js @@ -2,13 +2,14 @@ import React from 'react'; import PropTypes from 'prop-types'; import dayjs from 'dayjs'; -import { Icon, Button } from 'nr1'; +import { Icon, Button, HeadingText } from 'nr1'; export default class CurrentIncidents extends React.PureComponent { static propTypes = { hostname: PropTypes.string, handleTileClick: PropTypes.func, currentIncidents: PropTypes.array, + provider: PropTypes.string, }; setTimelineSymbol(incidentImpact) { @@ -63,12 +64,30 @@ export default class CurrentIncidents extends React.PureComponent { } render() { - const { handleTileClick, hostname, currentIncidents } = this.props; + const { handleTileClick, hostname, currentIncidents, provider } = + this.props; if (!currentIncidents || currentIncidents.length === 0) { return (
-

No incident history

+ {provider === 'external' ? ( + <> + +
External Status Page
+
+ +
Click the button below to view the status page
+
+ + ) : ( +

No incident history

+ )}