FeatureTogglePage.tsx 537 B

123456789101112131415161718192021222324
  1. import React from 'react';
  2. import Page from 'app/core/components/Page/Page';
  3. import { useNavModel } from 'app/core/hooks/useNavModel';
  4. export default function FeatureTogglePage() {
  5. const navModel = useNavModel('profile-settings');
  6. return (
  7. <Page navModel={navModel}>
  8. <Page.Contents>
  9. <h1>Profile is not enabled.</h1>
  10. Enable profile in the Grafana config file.
  11. <div>
  12. <pre>
  13. {`[profile]
  14. enable = true
  15. `}
  16. </pre>
  17. </div>
  18. </Page.Contents>
  19. </Page>
  20. );
  21. }