"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[950],{40104:(C,r,a)=>{a.r(r),a.d(r,{NewOrgPage:()=>i,default:()=>D});var n=a(65237),E=a(37149),l=a(46181),s=a(37885),_=a(5263),g=a(96682),c=a(48389),o=a(38992),m=a(18819),O=a(47570);const P={createOrganization:O.Yi},d=(0,E.connect)(void 0,P),u={icon:"building",id:"org-new",text:"New organization",breadcrumbs:[{title:"Server admin",url:"admin/orgs"}]},i=({createOrganization:M})=>{const h=async e=>{await M(e),window.location.href=(0,m.iE)().appSubUrl+"/org"};return n.createElement(o.T,{navId:"global-orgs",pageNav:u},n.createElement(o.T.Contents,null,n.createElement("p",{className:"muted"},"Each organization contains their own dashboards, data sources, and configuration, which cannot be shared shared between organizations. While users might belong to more than one organization, multiple organizations are most frequently used in multi-tenant deployments."),n.createElement(l.l,{onSubmit:h},({register:e,errors:t})=>n.createElement(n.Fragment,null,n.createElement(s.C,null,n.createElement(_.g,{label:"Organization name",invalid:!!t.name,error:t.name&&t.name.message},n.createElement(g.I,{placeholder:"Org name",...e("name",{required:"Organization name is required"})}))),n.createElement(c.zx,{type:"submit"},"Create")))))},D=d(i)}}]);

//# sourceMappingURL=NewOrgPage.5a8bfbf637ac6c40cd21.js.map