Skip to content

Commit

Permalink
Merge branch 'feature/formio' of https://github.com/bcgov/OCWA into f…
Browse files Browse the repository at this point in the history
…eature/formio
  • Loading branch information
BrandonSharratt committed Jan 13, 2020
2 parents 6731c13 + 3262d14 commit c7f3734
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/modules/requests/components/request/sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function RequestSidebar({
// };
const withdrawHandler = () => {
const c = confirm(
'Editing a submitted request automatically withdraws it. Do you still wish to proceed?',
'Editing a submitted request automatically withdraws it. Do you still wish to proceed?'
);

if (c) {
Expand All @@ -58,7 +58,7 @@ function RequestSidebar({
const mergeRequestStatusCode = get(
data,
'mergeRequestStatus.code',
invalidCode,
invalidCode
);
const validateEditButton = () => {
if (!isEditing && data.exportType === 'code') {
Expand Down Expand Up @@ -186,7 +186,7 @@ function RequestSidebar({
id="request-sidebar-duplicate-button"
iconBefore={<CopyIcon />}
isDisabled={isSaving}
onClick={() => history.push('/new', duplicateRequest(data))}
onClick={() => history.push('/new', duplicateRequest({ data }))}
>
Duplicate Request
</Button>
Expand Down

0 comments on commit c7f3734

Please sign in to comment.