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
205 changes: 205 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"main": "src/index.jsx",
"dependencies": {
"@kbss-cvut/s-forms": "0.8.1-beta-a8896e2.0",
"@testing-library/react": "^16.3.0",
"@vitejs/plugin-react": "^4.2.1",
"bootstrap": "^5.3.3",
"axios": "^1.12.1",
"bootstrap": "^5.3.3",
"bowser": "^2.9.0",
"classnames": "^2.3.1",
"history": "^4.10.1",
Expand Down Expand Up @@ -42,6 +43,7 @@
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-react": "^7.23.3",
"@testing-library/jest-dom": "^6.9.1",
"axios-mock-adapter": "^1.18.1",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
Expand Down
2 changes: 2 additions & 0 deletions src/components/institution/InstitutionPatients.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import RecordTable from "../record/RecordTable";
import PropTypes from "prop-types";
import ExportRecordsDropdown from "../record/ExportRecordsDropdown";
import { useI18n } from "../../hooks/useI18n";
import { COLUMNS } from "../../constants/DefaultConstants.js";

const InstitutionPatients = (props) => {
const { recordsLoaded, formTemplatesLoaded, onEdit, onExport, currentUser, filterAndSort } = props;
Expand All @@ -16,6 +17,7 @@ const InstitutionPatients = (props) => {
</Card.Header>
<Card.Body>
<RecordTable
visibleColumns={Object.values(COLUMNS)}
recordsLoaded={recordsLoaded}
formTemplatesLoaded={formTemplatesLoaded}
handlers={{ onEdit: onEdit }}
Expand Down
Loading
Loading