18215: Requests back only updated fields on collection update calls.
[arvados-workbench2.git] / src / services / collection-service / collection-service.ts
index 92437806818eb33a77c23c8bd2c1183a453cf3d9..64c73cbfb293d956842db1bdffc8b12433dc6eb8 100644 (file)
@@ -33,7 +33,8 @@ export class CollectionService extends TrashableResourceService<CollectionResour
     }
 
     update(uuid: string, data: Partial<CollectionResource>) {
-        return super.update(uuid, { ...data, preserveVersion: true });
+        const select = Object.keys(data)
+        return super.update(uuid, { ...data, preserveVersion: true }, select);
     }
 
     async files(uuid: string) {