projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15768: removed submit func from ms popover Arvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados.git]
/
src
/
services
/
common-service
/
common-service.ts
diff --git
a/src/services/common-service/common-service.ts
b/src/services/common-service/common-service.ts
index 4b857eddbb8233239d2d4d152928f0a93c86e9e1..8e9fe631701bd0877075774f6d3666dd9fa73ec1 100644
(file)
--- a/
src/services/common-service/common-service.ts
+++ b/
src/services/common-service/common-service.ts
@@
-107,12
+107,14
@@
export class CommonService<T> {
);
}
);
}
- delete(uuid: string): Promise<T> {
+ delete(uuid: string
, showErrors?: boolean
): Promise<T> {
this.validateUuid(uuid);
return CommonService.defaultResponse(
this.serverApi
.delete(`/${this.resourceType}/${uuid}`),
this.validateUuid(uuid);
return CommonService.defaultResponse(
this.serverApi
.delete(`/${this.resourceType}/${uuid}`),
- this.actions
+ this.actions,
+ true, // mapKeys
+ showErrors
);
}
);
}