{this.renderIcon(currentStatus)}
{intl.formatMessage(intlMessages.label)}
{(currentStatus === 'critical' || currentStatus === 'danger') || isSettingsMenuModalOpen
? (
{intl.formatMessage(intlMessages.settings)}
{isSettingsMenuModalOpen ? this.setSettingsMenuModalIsOpen(false),
priority: "medium",
setIsOpen: this.setSettingsMenuModalIsOpen,
isOpen: isSettingsMenuModalOpen,
}}
/> : null}
)
: (
)
}
);
}
}
export default injectIntl(ConnectionStatusIcon);