[ARVADOS-WORKBENCH2] updated: 1.3.1-431-gd3b0b860

Git user git at public.curoverse.com
Mon Apr 8 12:22:06 UTC 2019


Summary of changes:
 src/store/collection-panel/collection-panel-action.ts | 2 ++
 1 file changed, 2 insertions(+)

       via  d3b0b8600fa0728321311e163c0c886dbd139334 (commit)
      from  949cc1476c08322eb97a0ff809bcff036cee9a79 (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 d3b0b8600fa0728321311e163c0c886dbd139334
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Mon Apr 8 14:21:54 2019 +0200

    refs #15027-delete-version-attr-on-update-collection
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/collection-panel/collection-panel-action.ts b/src/store/collection-panel/collection-panel-action.ts
index 919cd908..cd426471 100644
--- a/src/store/collection-panel/collection-panel-action.ts
+++ b/src/store/collection-panel/collection-panel-action.ts
@@ -44,6 +44,8 @@ export const createCollectionTag = (data: TagProperty) =>
         try {
             if (item) {
                 item.properties[data.key] = data.value;
+                const version = 'version';
+                delete item[version];
                 const updatedCollection = await services.collectionService.update(uuid, item);
                 dispatch(resourcesActions.SET_RESOURCES([updatedCollection]));
                 dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Tag has been successfully added.", hideDuration: 2000, kind: SnackbarKind.SUCCESS }));

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list