File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/react-sdk-components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9191 }
9292 },
9393 {
94- "files" : " *.@(jsx|tsx|mdx)" ,
94+ "files" : " *.@(jsx|ts| tsx|mdx)" ,
9595 "rules" : {
9696 "react/react-in-jsx-scope" : " off" ,
9797 // Set up configuration for future sweep
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export default function FullPortal() {
8787 // top level Pega root element (likely a RootContainer)
8888
8989 const { appPortal : thePortal , excludePortals } = SdkConfigAccess . getSdkConfigServer ( ) ;
90- const defaultPortal = PCore ?. getEnvironmentInfo ?.( ) . getDefaultPortal ?.( ) ;
90+ const defaultPortal = PCore ?. getEnvironmentInfo ?.( ) . getDefaultPortal ?.( ) || '' ;
9191 const queryPortal = sessionStorage . getItem ( 'rsdk_portalName' ) ;
9292
9393 // Note: myLoadPortal and myLoadDefaultPortal are set when bootstrapWithAuthHeader is invoked
@@ -102,7 +102,7 @@ export default function FullPortal() {
102102 } else {
103103 console . log ( 'Loading portal selection screen' ) ;
104104 setPortalSelectionScreen ( true ) ;
105- defaultPortal && setDefaultPortalName ( defaultPortal ) ;
105+ setDefaultPortalName ( defaultPortal ) ;
106106 // Getting current user's access group's available portals list other than excluded portals (relies on Traditional DX APIs)
107107 getAvailablePortals ( ) . then ( portals => {
108108 setAvailablePortals ( portals as string [ ] ) ;
You can’t perform that action at this time.
0 commit comments