web-interface.assets.bb8c8232-1310.81b244b74044aa71abb6.js Maven / Gradle / Ivy
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["bb8c8232-1310"],{BrkhJCqs:(f,n,t)=>{t.r(n),t.d(n,{default:()=>A});var a=t("Z7aTuO5B"),P=t("IOI9nV80"),r=t("d4kzUuQm"),c=t("J1ga+jW6"),d=t("8fnsnG21"),i=t("/7OuCFNo"),O=t("jD0e6MXE");const A=()=>{const{currentUser:o}=(0,d.P)(c.y),{activePerspective:_}=(0,O.A)(),E=!o,l=(0,i.A)(),s=(0,a.useCallback)(e=>{l.replace(e)},[l]),u=(0,a.useCallback)(()=>{const e=o==null?void 0:o.startpage;if(e!==null&&Object.keys(e).length>0){e.type==="dashboard"?s(r.Ay.dashboard_show(e.id)):e.type==="stream"?s(r.Ay.stream_search(e.id)):e.id!=="default"?s(r.Ay.show_saved_search(e.id)):s(r.Ay.SEARCH);return}s(_.welcomeRoute)},[_,o==null?void 0:o.startpage,s]);return(0,a.useEffect)(()=>{c.y.reload()},[]),(0,a.useEffect)(()=>{E||u()},[E,u]),a.createElement(P.y$,null)}}}]);})();
//# sourceMappingURL=bb8c8232-1310.81b244b74044aa71abb6.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy