mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
renaming component
This commit is contained in:
@@ -14,7 +14,7 @@ interface State {
|
||||
help: string;
|
||||
}
|
||||
|
||||
export default class PanelHelp extends PureComponent<Props, State> {
|
||||
export default class PluginHelp extends PureComponent<Props, State> {
|
||||
state = {
|
||||
isError: false,
|
||||
isLoading: false,
|
||||
@@ -48,7 +48,7 @@ export default class PanelHelp extends PureComponent<Props, State> {
|
||||
const markdown = new Remarkable();
|
||||
const helpHtml = markdown.render(response);
|
||||
|
||||
if (response === '' && this.props.type) {
|
||||
if (response === '' && this.props.type === 'help') {
|
||||
this.setState({
|
||||
isError: false,
|
||||
isLoading: false,
|
||||
Reference in New Issue
Block a user