20031: Remove console log
authorStephen Smith <stephen@curii.com>
Thu, 25 May 2023 19:05:14 +0000 (15:05 -0400)
committerStephen Smith <stephen@curii.com>
Thu, 25 May 2023 19:05:14 +0000 (15:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/store/collections/collection-partial-copy-actions.ts
src/views-components/dialog-forms/partial-copy-to-new-collection-dialog.ts

index 7897efc450a8e995c7701786e910663cf4311eaa..78db1896cce3e8caba278451e4983bbf075475e1 100644 (file)
@@ -230,7 +230,6 @@ export const copyCollectionPartialToSeparateCollections = (fileSelection: Collec
                 dispatch(progressIndicatorActions.STOP_WORKING(COLLECTION_PARTIAL_COPY_TO_SEPARATE_COLLECTIONS));
             } catch (e) {
                 const error = getCommonResourceServiceError(e);
-                console.log(e, error);
                 if (error === CommonResourceServiceError.UNIQUE_NAME_VIOLATION) {
                     dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Collection from one or more files already exists', hideDuration: 2000, kind: SnackbarKind.ERROR }));
                 } else if (error === CommonResourceServiceError.UNKNOWN) {
index 65b65db40104cc4713467bd943ee8b212b2252aa..3a321defbeea1966971512b49417bf27d46c44d4 100644 (file)
@@ -14,7 +14,6 @@ export const PartialCopyToNewCollectionDialog = compose(
     reduxForm<CollectionPartialCopyToNewCollectionFormData>({
         form: COLLECTION_PARTIAL_COPY_FORM_NAME,
         onSubmit: (data, dispatch, dialog) => {
-            console.log(dialog.data);
             dispatch(copyCollectionPartialToNewCollection(dialog.data, data));
         }
     }),