grafana/public/app/features/profile/FeatureTogglePage.tsx

25 lines
541 B
TypeScript
Raw Normal View History

import React from 'react';
import { Page } from 'app/core/components/Page/Page';
import { useNavModel } from 'app/core/hooks/useNavModel';
export default function FeatureTogglePage() {
const navModel = useNavModel('profile-settings');
return (
<Page navModel={navModel}>
<Page.Contents>
<h1>Profile is not enabled.</h1>
Enable profile in the Grafana config file.
<div>
<pre>
{`[profile]
enable = true
`}
</pre>
</div>
</Page.Contents>
</Page>
);
}