Dashboard: Hides alpha icon for visualization that is not in alpha/beta stage #19300

Fixes #19251
This commit is contained in:
Hugo Häggmark 2019-09-23 02:34:00 -07:00 committed by GitHub
parent b7752b8c02
commit f01836c17a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}