"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[1450],{"./public/app/core/hooks/useNavModel.ts":(e,n,a)=>{a.d(n,{q:()=>t});var r=a("./.yarn/__virtual__/react-redux-virtual-7ad20a440e/3/opt/drone/yarncache/react-redux-npm-7.2.6-134f5ed64d-0bf142ce0d.zip/node_modules/react-redux/es/index.js"),c=a("./public/app/core/selectors/navModel.ts");const t=e=>{const n=(0,r.useSelector)((e=>e.navIndex));return(0,c.h)(n,e)}},"./public/app/features/alerting/FeatureTogglePage.tsx":(e,n,a)=>{a.r(n),a.d(n,{default:()=>l});a("../../opt/drone/yarncache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/index.js");var r,c=a("./public/app/core/components/Page/Page.tsx"),t=a("./public/app/core/hooks/useNavModel.ts"),s=a("../../opt/drone/yarncache/react-npm-17.0.2-99ba37d931-b254cc17ce.zip/node_modules/react/jsx-runtime.js");function l(){const e=(0,t.q)("alert-list");return(0,s.jsx)(c.Z,{navModel:e,children:r||(r=(0,s.jsxs)(c.Z.Contents,{children:[(0,s.jsx)("h1",{children:"Alerting is not enabled"}),"To enable alerting, enable it in the Grafana config:",(0,s.jsx)("div",{children:(0,s.jsx)("pre",{children:"[unified_alerting]\nenable = true\n"})}),(0,s.jsxs)("div",{children:["For legacy alerting",(0,s.jsx)("pre",{children:"[alerting]\nenable = true\n"})]})]}))})}}}]);
//# sourceMappingURL=Alerting feature toggle page.cd4ada1146b53ad3284f.js.map