"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[950],{93246:(C,o,a)=>{a.r(o),a.d(o,{NewOrgPage:()=>E,default:()=>D});var n=a(27702),i=a(27173),_=a(23839),l=a(5229),g=a(22209),s=a(1128),c=a(66670),r=a(44644),m=a(12308),O=a(30284);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.7af396bea76d6ce3928a.js.map