MED-137: add doctor other jobs view (#55)
* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * move components to shared * refactor * imports * clean up
This commit is contained in:
22
app/doctor/open-jobs/page.tsx
Normal file
22
app/doctor/open-jobs/page.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { getOpenResponsesAction } from '@kit/doctor/actions/table-data-fetching-actions';
|
||||
import { PageBody, PageHeader } from '@kit/ui/page';
|
||||
|
||||
import { DoctorGuard } from '../_components/doctor-guard';
|
||||
import ResultsTableWrapper from '../_components/results-table-wrapper';
|
||||
|
||||
async function OpenJobsPage() {
|
||||
return (
|
||||
<>
|
||||
<PageHeader />
|
||||
<PageBody>
|
||||
<ResultsTableWrapper
|
||||
titleKey="doctor:openReviews"
|
||||
action={getOpenResponsesAction}
|
||||
queryKey="doctor-open-jobs"
|
||||
/>
|
||||
</PageBody>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default DoctorGuard(OpenJobsPage);
|
||||
Reference in New Issue
Block a user