diff options
author | 2018-08-13 13:18:11 +0300 | |
---|---|---|
committer | 2018-08-13 13:18:17 +0300 | |
commit | ae5109d0159904f0b4c6959cb59f262929e18f8e (patch) | |
tree | 755a67c8ecb753ea10919fb880eb5d76217c80cd /workflow-designer-ui/src/main | |
parent | 587052ca6c68dea8687cc0f6cee96ebca546ee87 (diff) |
fix edit description
Issue-ID: SDC-1638
Change-Id: I9bc49e4c08b0cdff814c5650cdf959ce31e8df1c
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
Diffstat (limited to 'workflow-designer-ui/src/main')
3 files changed, 3 insertions, 3 deletions
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} /> </div> </div> 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} /> </div> </div> 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')} </div> <textarea - value={description || ''} + value={description} data-test-id={dataTestId || 'description'} onChange={event => { onDataChange({ description: event.target.value }); |