fix(ui): migrate HTTP client for basic filter
Seems that we missed a spot when migrating from restangular, now we
receive parsed JSON response body directly instead of in the `_body`
property.
Also fixes
@@ -103,8 +103,7 @@ export class BasicFilterComponent implements OnChanges {
this.integrationSupport
.getFilterOptions(dataShape)
.toPromise()
- .then((resp: any) => {
- const body = JSON.parse(resp['_body']);
+ .then((body: any) => {
const ops = body.ops;
const paths = body.paths;
initializeForm(ops, paths);
