Skip to content

Commit

Permalink
Dashboard: Hides alpha icon for visualization that is not in alpha/be…
Browse files Browse the repository at this point in the history
…ta stage grafana#19300

Fixes grafana#19251
  • Loading branch information
hugohaggmark authored Sep 23, 2019
1 parent b7752b8 commit f01836c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/app/features/plugins/PluginStateInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function getPluginStateInfoText(state?: PluginState): string | null {
const PluginStateinfo: FC<Props> = props => {
const text = getPluginStateInfoText(props.state);

if (!text) {
return null;
}

return (
<AlphaNotice
state={props.state}
Expand Down

0 comments on commit f01836c

Please sign in to comment.