diff --git a/rsconcept/frontend/src/components/Navigation/UserDropdown.tsx b/rsconcept/frontend/src/components/Navigation/UserDropdown.tsx index 76b58bb2..604ed5dd 100644 --- a/rsconcept/frontend/src/components/Navigation/UserDropdown.tsx +++ b/rsconcept/frontend/src/components/Navigation/UserDropdown.tsx @@ -2,6 +2,7 @@ import { useNavigate } from 'react-router-dom'; import { useAuth } from '../../context/AuthContext'; import { useConceptTheme } from '../../context/ThemeContext'; +import { LibraryFilterStrategy } from '../../utils/models'; import Dropdown from '../Common/Dropdown'; import DropdownButton from '../Common/DropdownButton'; @@ -27,7 +28,7 @@ function UserDropdown({ hideDropdown }: UserDropdownProps) { const navigateMyWork = () => { hideDropdown(); - navigate(`/library`); + navigate(`/library?filter=${LibraryFilterStrategy.PERSONAL}`); }; return ( diff --git a/rsconcept/frontend/src/pages/RSFormPage/RSTabsMenu.tsx b/rsconcept/frontend/src/pages/RSFormPage/RSTabsMenu.tsx index e9696833..0145774e 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/RSTabsMenu.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/RSTabsMenu.tsx @@ -145,13 +145,18 @@ function RSTabsMenu({ } {user?.is_staff && - + } }