Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/requirements-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sqlalchemy==1.4.54
# via
# codecarbon (pyproject.toml)
# alembic
starlette==0.52.1
starlette==0.50.0
# via fastapi
termcolor==3.2.0
# via yaspin
Expand Down
30 changes: 16 additions & 14 deletions webapp/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,20 +251,22 @@ export default function NavBar({
onClose={() => setNewOrgModalOpen(false)}
onOrganizationCreated={refreshOrgList}
/>
{USER_PROFILE_URL && (
<NavItem
isSelected={selected === "profile"}
onClick={() => {
setSelected("profile");
setSheetOpened?.(false);
window.location.href = USER_PROFILE_URL!; // Redirect to Fief profile to handle profile updates there
}}
paddingY={1.5}
icon={<UserIcon className={iconStyles} />}
>
Profile
</NavItem>
)}
{
// USER_PROFILE_URL && (
// <NavItem
// isSelected={selected === "profile"}
// onClick={() => {
// setSelected("profile");
// setSheetOpened?.(false);
// window.location.href = USER_PROFILE_URL!; // Redirect to profile to handle profile updates there
// }}
// paddingY={1.5}
// icon={<UserIcon className={iconStyles} />}
// >
// Profile
// </NavItem>
// )
}
<NavItem
onClick={() => {
setSheetOpened?.(false);
Expand Down
Loading