ui: Pass GET data and clean certain values for KV's ensuring consistency (#4991)
This commit is contained in:
parent
4f34ac7861
commit
c64c88026a
|
@ -71,6 +71,9 @@ export default Adapter.extend({
|
|||
delete _query.id;
|
||||
}
|
||||
const query = { ..._query };
|
||||
if (typeof query.separator !== 'undefined') {
|
||||
delete query.separator;
|
||||
}
|
||||
delete _query[DATACENTER_QUERY_PARAM];
|
||||
return query;
|
||||
},
|
||||
|
|
|
@ -136,6 +136,7 @@ export default Adapter.extend({
|
|||
}
|
||||
return null;
|
||||
}
|
||||
return data;
|
||||
},
|
||||
methodForRequest: function(params) {
|
||||
switch (params.requestType) {
|
||||
|
|
Loading…
Reference in a new issue