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() {
|
||||
const { isLoading } = this.props;
|
||||
|
||||
return (
|
||||
<div className="page-container page-body">
|
||||
{isLoading && <PageLoader />}
|
||||
{this.props.children}
|
||||
</div>
|
||||
);
|
||||
return <div className="page-container page-body">{isLoading ? <PageLoader /> : this.props.children}</div>;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user