Skip to content

Commit

Permalink
Merge pull request #7422 from coronasafe/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gigincg authored Mar 15, 2024
2 parents 8fba0c4 + 921fb4c commit 1b45ac6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches:
- develop
- master
- staging
tags:
- v*
pull_request:
branches:
- develop
- master
- staging
workflow_dispatch:

concurrency:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#build-stage
FROM node:18-buster-slim as build-stage
FROM --platform=$BUILDPLATFORM node:18-buster-slim as build-stage

WORKDIR /app

ENV NODE_OPTIONS="--max-old-space-size=4096"

RUN if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then apt-get update && apt-get install -y python3-dev make g++; fi

COPY package.json package-lock.json ./

RUN npm install --legacy-peer-deps
Expand Down
3 changes: 1 addition & 2 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -761,10 +761,9 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
weight: Number(state.form.weight),
height: Number(state.form.height),
bed: bed && bed instanceof Array ? bed[0]?.id : bed?.id,
patient_no: state.form.patient_no || null,
};

if (state.form.patient_no) data["patient_no"] = state.form.patient_no;

const res = await dispatchAction(
id ? updateConsultation(id!, data) : createConsultation(data)
);
Expand Down

0 comments on commit 1b45ac6

Please sign in to comment.