FeatureTogglePage.tsx 520 B

12345678910111213141516171819202122
  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('live-status');
  6. return (
  7. <Page navModel={navModel}>
  8. <Page.Contents>
  9. <h1>Pipeline is not enabled</h1>
  10. To enable pipelines, enable the feature toggle:
  11. <pre>
  12. {`[feature_toggles]
  13. enable = live-pipeline
  14. `}
  15. </pre>
  16. </Page.Contents>
  17. </Page>
  18. );
  19. }