MED-109: add doctor role and basic view (#45)

* MED-109: add doctor role and basic view

* add role to accounts

* remove old super admin and doctor sql
This commit is contained in:
Helena
2025-08-13 12:28:50 +03:00
committed by GitHub
parent ce7b04fda8
commit 3c6c86c7c8
32 changed files with 562 additions and 35 deletions

View File

@@ -11,6 +11,9 @@ import pathsConfig from '~/config/paths.config';
const paths = {
home: pathsConfig.app.home,
admin: pathsConfig.app.admin,
doctor: pathsConfig.app.doctor,
personalAccountSettings: pathsConfig.app.personalAccountSettings
};
const features = {
@@ -30,7 +33,7 @@ export function ProfileAccountDropdownContainer(props: {
label: string | null;
value: string | null;
image?: string | null;
}[]
}[];
}) {
const signOut = useSignOut();
const user = useUser(props.user);