"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[950],{10993:(C,o,a)=>{a.r(o),a.d(o,{NewOrgPage:()=>E,default:()=>D});var n=a(39953),i=a(89772),_=a(85830),l=a(2827),g=a(96227),s=a(38637),c=a(4919),r=a(13253),m=a(50820),O=a(72700);const P={createOrganization:O.Yi},d=(0,i.connect)(void 0,P),u={icon:"building",id:"org-new",text:"New organization"},E=({createOrganization:M})=>{const h=async e=>{await M(e),window.location.href=(0,m.iE)().appSubUrl+"/org"};return n.createElement(r.T,{navId:"global-orgs",pageNav:u},n.createElement(r.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,{onSubmit:h},({register:e,errors:t})=>n.createElement(n.Fragment,null,n.createElement(l.C,null,n.createElement(g.g,{label:"Organization name",invalid:!!t.name,error:t.name&&t.name.message},n.createElement(s.I,{placeholder:"Org name",...e("name",{required:"Organization name is required"})}))),n.createElement(c.zx,{type:"submit"},"Create")))))},D=d(E)}}]);

//# sourceMappingURL=NewOrgPage.baa3f269d7fca978efb7.js.map