From ae5109d0159904f0b4c6959cb59f262929e18f8e Mon Sep 17 00:00:00 2001 From: Yarin Dekel Date: Mon, 13 Aug 2018 13:18:11 +0300 Subject: fix edit description Issue-ID: SDC-1638 Change-Id: I9bc49e4c08b0cdff814c5650cdf959ce31e8df1c Signed-off-by: Yarin Dekel --- .../__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap | 2 +- .../__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap | 2 +- .../src/main/frontend/src/shared/components/Description/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'workflow-designer-ui/src/main/frontend') 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')}