ui fix correct team not loading (#5804)

* ui fix correct team not loading

* ui fix
This commit is contained in:
Ishaan Jaff 2024-09-20 08:08:56 -07:00 committed by GitHub
parent a3d4bf6c27
commit a6100d7ea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ const DashboardTeam: React.FC<DashboardTeamProps> = ({
} else {
updatedTeams = teams ? [...teams, defaultTeam] : [defaultTeam];
}
if (userRole === 'App User') return null;
return (
<div className="mt-5 mb-5">

View file

@ -2753,7 +2753,7 @@ export const getProxyBaseUrlAndLogoutUrl = async (
try {
let url = proxyBaseUrl
? `${proxyBaseUrl}/sso/get/ui_settings`
: `sso/get/ui_settings`;
: `/sso/get/ui_settings`;
//message.info("Requesting model data");
const response = await fetch(url, {