Skip to content

Commit

Permalink
Merge pull request #1257 from RoundingWell/bugfix/form-app-cache
Browse files Browse the repository at this point in the history
Fix `patientActionId` caching bug in `form_app.js`
  • Loading branch information
paulfalgout committed Apr 29, 2024
2 parents b259685 + f4fecdb commit f75c42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/apps/forms/form/form_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default App.extend({
this.initFormState();
},
beforeStart({ patientActionId }) {
this.patientActionId = this.patientActionId || patientActionId;
this.patientActionId = patientActionId || this.patientActionId;

return [
Radio.request('entities', 'fetch:forms:byAction', this.patientActionId),
Expand Down

0 comments on commit f75c42b

Please sign in to comment.