12 |
- "use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9603],{64816:(e,n,s)=>{s.r(n),s.d(n,{default:()=>h});var t,a=s(68404),r=s(18745),i=s(94087),d=s(90923),l=s(33801),c=s(8674),o=s(45916);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.d6cdf85a90dde8c79c6e.js.map
|