[ARVADOS-WORKBENCH2] updated: 1.2.0-439-gc8efd8e

Git user git at public.curoverse.com
Thu Sep 27 03:02:32 EDT 2018


Summary of changes:
 src/components/text-field/text-field.tsx                       | 10 ++++------
 .../rich-text-editor-dialog-actions.tsx                        |  4 +---
 2 files changed, 5 insertions(+), 9 deletions(-)

       via  c8efd8ea08a0830b334ffc6a3811807bf5a1d94a (commit)
      from  6f479854450415418e524808ce07ac8a0bac56da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c8efd8ea08a0830b334ffc6a3811807bf5a1d94a
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date:   Thu Sep 27 09:02:22 2018 +0200

    change code after CR
    
    Feature #14120
    
    Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>

diff --git a/src/components/text-field/text-field.tsx b/src/components/text-field/text-field.tsx
index beea2ba..076889e 100644
--- a/src/components/text-field/text-field.tsx
+++ b/src/components/text-field/text-field.tsx
@@ -48,12 +48,10 @@ export const RichEditorTextField = withStyles(styles)(
         }
 
         render() {
-            return (
-                <RichTextEditor 
-                    value={this.state.value}
-                    onChange={this.onChange}
-                    placeholder={this.props.label} />
-            );
+            return <RichTextEditor 
+                value={this.state.value}
+                onChange={this.onChange}
+                placeholder={this.props.label} />;
         }
     }
 );
\ No newline at end of file
diff --git a/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx b/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
index d8bb6fd..f2a1c4b 100644
--- a/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
+++ b/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
@@ -7,6 +7,4 @@ import { dialogActions } from "~/store/dialog/dialog-actions";
 
 export const RICH_TEXT_EDITOR_DIALOG_NAME = 'richTextEditorDialogName';
 export const openRichTextEditorDialog = (title: string, text: string) => 
-    async (dispatch: Dispatch) => {
-        dispatch(dialogActions.OPEN_DIALOG({ id: RICH_TEXT_EDITOR_DIALOG_NAME, data: { title, text } }));
-    };
\ No newline at end of file
+    dialogActions.OPEN_DIALOG({ id: RICH_TEXT_EDITOR_DIALOG_NAME, data: { title, text } });
\ No newline at end of file

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list