mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PageContent: fix logic in Page.Contents (#19002)
This commit is contained in:
committed by
Torkel Ödegaard
parent
7ca77b8a98
commit
a07f46cee0
@@ -13,12 +13,7 @@ class PageContents extends Component<Props> {
|
|||||||
render() {
|
render() {
|
||||||
const { isLoading } = this.props;
|
const { isLoading } = this.props;
|
||||||
|
|
||||||
return (
|
return <div className="page-container page-body">{isLoading ? <PageLoader /> : this.props.children}</div>;
|
||||||
<div className="page-container page-body">
|
|
||||||
{isLoading && <PageLoader />}
|
|
||||||
{this.props.children}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user