"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9603],{14125:(e,s,n)=>{n.r(s),n.d(s,{default:()=>l});var t,a=n(76687),r=n(68021),i=n(5205),d=n(28781),c=n(52010);const l=function(){const{loading:e,value:s}=(0,r.Z)((()=>(0,i.i)().get("/api/admin/settings")),[]);return(0,c.jsx)(d.T,{navId:"server-settings",children:(0,c.jsxs)(d.T.Contents,{isLoading:e,children:[(0,c.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."}),s&&(0,c.jsx)("table",{className:"filter-table",children:(0,c.jsx)("tbody",{children:Object.entries(s).map(((e,s)=>{let[n,r]=e;return(0,c.jsxs)(a.Fragment,{children:[(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{className:"admin-settings-section",children:n}),t||(t=(0,c.jsx)("td",{}))]}),Object.entries(r).map(((e,s)=>{let[n,t]=e;return(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{style:{paddingLeft:"25px"},children:n}),(0,c.jsx)("td",{style:{whiteSpace:"break-spaces"},children:t})]},`property-${s}`)}))]},`section-${s}`)}))})})]})})}}}]);
//# sourceMappingURL=AdminSettings.2f4975fd43bb6fe3c221.js.map