From: Yarin Dekel Date: Mon, 13 Aug 2018 10:18:11 +0000 (+0300) Subject: fix edit description X-Git-Tag: 1.3.0~44 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ae5109d0159904f0b4c6959cb59f262929e18f8e;p=sdc%2Fsdc-workflow-designer.git fix edit description Issue-ID: SDC-1638 Change-Id: I9bc49e4c08b0cdff814c5650cdf959ce31e8df1c Signed-off-by: Yarin Dekel --- diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap index 0b15043e..4f94780d 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap +++ b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap @@ -52,7 +52,7 @@ exports[`Create new version snapshot renders correctly 1`] = ` data-test-id="new-version-description" disabled={false} onChange={[Function]} - value="" + value={undefined} /> diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap index fb9cd835..afd57303 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap @@ -50,7 +50,7 @@ exports[`New Workflow View Snapshot renders correctly 1`] = ` data-test-id="description" disabled={false} onChange={[Function]} - value="" + value={undefined} /> diff --git a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js b/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js index 12bae31a..f6744908 100644 --- a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js +++ b/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js @@ -24,7 +24,7 @@ const Description = ({ description, onDataChange, dataTestId, disabled }) => ( {I18n.t('workflow.general.description')}