Commit f01836c1 by Hugo Häggmark Committed by GitHub

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

Fixes #19251
parent b7752b8c
...@@ -19,6 +19,10 @@ function getPluginStateInfoText(state?: PluginState): string | null { ...@@ -19,6 +19,10 @@ function getPluginStateInfoText(state?: PluginState): string | null {
const PluginStateinfo: FC<Props> = props => { const PluginStateinfo: FC<Props> = props => {
const text = getPluginStateInfoText(props.state); const text = getPluginStateInfoText(props.state);
if (!text) {
return null;
}
return ( return (
<AlphaNotice <AlphaNotice
state={props.state} state={props.state}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment