Merge branch '18169-cancel-button-not-working' into main
[arvados-workbench2.git] / src / services / collection-service / collection-service.ts
index 64c73cbfb293d956842db1bdffc8b12433dc6eb8..48e797c500e8b7e3dade9fc15727773176805773 100644 (file)
@@ -33,7 +33,7 @@ export class CollectionService extends TrashableResourceService<CollectionResour
     }
 
     update(uuid: string, data: Partial<CollectionResource>) {
-        const select = Object.keys(data)
+        const select = [...Object.keys(data), 'version', 'modifiedAt'];
         return super.update(uuid, { ...data, preserveVersion: true }, select);
     }
 
@@ -108,7 +108,7 @@ export class CollectionService extends TrashableResourceService<CollectionResour
             },
             onUploadProgress: (e: ProgressEvent) => {
                 onProgress(fileId, e.loaded, e.total, Date.now());
-            }
+            },
         };
         return this.webdavClient.upload(fileURL, [file], requestConfig);
     }