Skip to content

Commit

Permalink
Merge branch 'develop' into issues/9336/infinite-render-phonenumber-f…
Browse files Browse the repository at this point in the history
…ield
  • Loading branch information
JavidSumra authored Dec 10, 2024
2 parents ce0c079 + d520018 commit be73124
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"hi-profiles": "^1.1.0",
"i18next": "^23.16.4",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.6.2",
"i18next-http-backend": "^3.0.1",
"lodash-es": "^4.17.21",
"postcss-loader": "^8.1.1",
"qrcode.react": "^4.1.0",
Expand All @@ -94,7 +94,7 @@
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18.3.1",
"react-google-recaptcha": "^3.1.0",
"react-i18next": "^15.1.1",
"react-i18next": "^15.1.3",
"react-infinite-scroll-component": "^6.1.0",
"react-pdf": "^9.1.1",
"react-webcam": "^7.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Common/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Page(props: PageProps) {

let padding = "";
if (!props.noImplicitPadding) {
if (!props.hideBack || props.componentRight) padding = "py-3 md:p-6";
if (!props.hideBack || props.componentRight) padding = "py-3 md:px-6";
else padding = "px-6 py-5";
}

Expand Down
16 changes: 8 additions & 8 deletions src/components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -749,14 +749,6 @@ export const PatientManager = () => {
permittedFacilities?.count === 1 ? permittedFacilities.results[0] : null;

const searchOptions = [
{
key: "phone_number",
label: "Phone Number",
type: "phone" as const,
placeholder: "Search_by_phone_number",
value: qParams.phone_number || "",
shortcutKey: "p",
},
{
key: "name",
label: "Name",
Expand All @@ -773,6 +765,14 @@ export const PatientManager = () => {
value: qParams.patient_no || "",
shortcutKey: "u",
},
{
key: "phone_number",
label: "Phone Number",
type: "phone" as const,
placeholder: "Search_by_phone_number",
value: qParams.phone_number || "",
shortcutKey: "p",
},
{
key: "emergency_contact_number",
label: "Emergency Contact Phone Number",
Expand Down

0 comments on commit be73124

Please sign in to comment.