forgeplus/public/react/build/static/js/134.091df8c8.chunk.js

1 line
1.3 KiB
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[134],{gfdF:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l(r("W9HT")),a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,a=!1,u=void 0;try{for(var i,o=t[Symbol.iterator]();!(n=(i=o.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,u=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw u}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};r("04bd");var i=r("q1tI"),o=l(i),f=l(r("vDqi")),c=l(r("my/d"));function l(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.match.params.OIdentifier,r=t.match.params.groupId,l=(0,i.useState)(void 0),s=u(l,2),d=s[0],p=s[1],v=(0,i.useState)(!0),h=u(v,2),y=h[0],m=h[1];return(0,i.useEffect)((function(){var t;r&&(t="/organizations/"+e+"/teams/"+r+".json",f.default.get(t).then((function(t){p(t.data)})).catch((function(t){})),m(!1))}),[r]),o.default.createElement(n.default,{spinning:y},o.default.createElement(c.default,a({},t,{GroupDetail:d})))}}}]);