"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9603],{14125:(e,n,s)=>{s.r(n),s.d(n,{default:()=>h});var t,a=s(76687),r=s(46958),i=s(8650),d=s(10967),l=s(36131),c=s(3276),o=s(52010);const h=(0,r.connect)((e=>({navModel:(0,c.h)(e.navIndex,"server-settings")})))((function(e){let{navModel:n}=e;const{loading:s,value:r}=(0,i.Z)((()=>(0,d.getBackendSrv)().get("/api/admin/settings")),[]);return(0,o.jsx)(l.Z,{navModel:n,children:(0,o.jsxs)(l.Z.Contents,{isLoading:s,children:[(0,o.jsx)("div",{className:"grafana-info-box span8",style:{margin:"20px 0 25px 0"},children:"These system settings are defined in grafana.ini or custom.ini (or overridden in ENV variables). To change these you currently need to restart Grafana."}),r&&(0,o.jsx)("table",{className:"filter-table",children:(0,o.jsx)("tbody",{children:Object.entries(r).map(((e,n)=>{let[s,r]=e;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{className:"admin-settings-section",children:s}),t||(t=(0,o.jsx)("td",{}))]}),Object.entries(r).map(((e,n)=>{let[s,t]=e;return(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{style:{paddingLeft:"25px"},children:s}),(0,o.jsx)("td",{style:{whiteSpace:"break-spaces"},children:t})]},`property-${n}`)}))]},`section-${n}`)}))})})]})})}))}}]);
//# sourceMappingURL=AdminSettings.c6e358177190ac1e80e9.js.map