Skip to content

Commit

Permalink
fix: Remove beta tag on PagerDuty integration (#16344)
Browse files Browse the repository at this point in the history
  • Loading branch information
NisanthanNanthakumar committed Jan 9, 2020
1 parent 5a582bd commit c93eb4c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line no-restricted-imports
import {Box, Flex} from 'grid-emotion';
import {withTheme} from 'emotion-theming';
import PropTypes from 'prop-types';
Expand All @@ -8,7 +9,6 @@ import {openIntegrationDetails} from 'app/actionCreators/modal';
import {PanelItem} from 'app/components/panels';
import {t} from 'app/locale';
import Button from 'app/components/button';
import BetaTag from 'app/components/betaTag';
import CircleIndicator from 'app/components/circleIndicator';
import InstalledIntegration, {
Props as InstalledIntegrationProps,
Expand Down Expand Up @@ -112,16 +112,12 @@ export default class ProviderRow extends React.Component<Props> {
}

render() {
const isBeta = this.props.provider.key === 'pagerduty';
return (
<PanelItem p={0} direction="column" data-test-id={this.props.provider.key}>
<Flex align="center" p={2}>
<PluginIcon size={36} pluginId={this.props.provider.key} />
<Box px={2} flex={1}>
<ProviderName>
{this.props.provider.name}
{isBeta && <BetaTag />}
</ProviderName>
<ProviderName>{this.props.provider.name}</ProviderName>
<ProviderDetails>
<Status enabled={this.isEnabled} />
<StyledLink onClick={this.openModal}>Learn More</StyledLink>
Expand Down

0 comments on commit c93eb4c

Please sign in to comment.