Skip to content

Commit

Permalink
Merge pull request #42 from qld-gov-au/QOL-8650-fix-form-revision-sup…
Browse files Browse the repository at this point in the history
…port

Qol 8650 fix form revision support
  • Loading branch information
devonpis authored Apr 27, 2022
2 parents b548866 + a6febc4 commit a4d6df1
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 276 deletions.
28 changes: 0 additions & 28 deletions src/components/CustomHeader/CustomHeader.js

This file was deleted.

55 changes: 0 additions & 55 deletions src/components/CustomHeader/CustomHeader.stories.mdx

This file was deleted.

24 changes: 0 additions & 24 deletions src/components/CustomHeader/CustomHeader.test.js

This file was deleted.

1 change: 0 additions & 1 deletion src/components/CustomHeader/index.js

This file was deleted.

27 changes: 0 additions & 27 deletions src/components/CustomTextfield/CustomTextfield.js

This file was deleted.

67 changes: 0 additions & 67 deletions src/components/CustomTextfield/CustomTextfield.stories.mdx

This file was deleted.

69 changes: 0 additions & 69 deletions src/components/CustomTextfield/CustomTextfield.test.js

This file was deleted.

1 change: 0 additions & 1 deletion src/components/CustomTextfield/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export * from "./CustomHeader";
export * from "./CustomTextfield";
export * from "./PlsPlusAddress";
4 changes: 2 additions & 2 deletions src/helpers/FormioLoader/FormioLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const initFormioInstance = (elem, opts) => {
const baseUrl = `https://${opts.envUrl.trim()}`;
let formName = "";
// Check if value is true/exists and is numeric
if (opts.form_revision) {
formName = `${opts.formName}/v/${opts.form_revision}`;
if (opts.formRevision) {
formName = `${opts.formName}/v/${opts.formRevision}`;
} else {
formName = opts.formName;
}
Expand Down

0 comments on commit a4d6df1

Please sign in to comment.