MED-90: improve doctor analysis detail view (#57)
* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * MED-90: improve doctor analysis detail view * add key
This commit is contained in:
@@ -6,6 +6,9 @@ import { usePathname } from 'next/navigation';
|
||||
import { UserWorkspace } from '@/app/home/(user)/_lib/server/load-user-workspace';
|
||||
import { LayoutDashboard } from 'lucide-react';
|
||||
|
||||
import { AppLogo } from '@kit/shared/components/app-logo';
|
||||
import { ProfileAccountDropdownContainer } from '@kit/shared/components/personal-account-dropdown-container';
|
||||
import { pathsConfig } from '@kit/shared/config';
|
||||
import {
|
||||
Sidebar,
|
||||
SidebarContent,
|
||||
@@ -20,11 +23,6 @@ import {
|
||||
} from '@kit/ui/shadcn-sidebar';
|
||||
import { Trans } from '@kit/ui/trans';
|
||||
|
||||
import { AppLogo } from '@kit/shared/components/app-logo';
|
||||
import { ProfileAccountDropdownContainer } from '@kit/shared/components/personal-account-dropdown-container';
|
||||
|
||||
import { pathsConfig } from '@kit/shared/config';
|
||||
|
||||
export function DoctorSidebar({
|
||||
accounts,
|
||||
}: {
|
||||
@@ -75,10 +73,7 @@ export function DoctorSidebar({
|
||||
isActive={path === pathsConfig.app.myJobs}
|
||||
asChild
|
||||
>
|
||||
<Link
|
||||
className={'flex gap-2.5'}
|
||||
href={pathsConfig.app.myJobs}
|
||||
>
|
||||
<Link className={'flex gap-2.5'} href={pathsConfig.app.myJobs}>
|
||||
<LayoutDashboard className={'h-4'} />
|
||||
<Trans i18nKey={'doctor:sidebar.myReviews'} />
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user