mirror of https://github.com/rancher/ui.git
Merge pull request #3364 from loganhz/max
Remove rancherVersion in its requests
This commit is contained in:
commit
3ada863f9c
|
|
@ -7,8 +7,6 @@ import { allSettled, hash } from 'rsvp';
|
|||
import { union } from '@ember/object/computed';
|
||||
import C from 'shared/utils/constants';
|
||||
|
||||
const RANCHER_VERSION = 'rancherVersion';
|
||||
|
||||
export default Service.extend({
|
||||
globalStore: service(),
|
||||
settings: service(),
|
||||
|
|
@ -204,14 +202,7 @@ export default Service.extend({
|
|||
},
|
||||
|
||||
_addLimits(url, qp) {
|
||||
let version = get(this, 'settings.rancherVersion');
|
||||
|
||||
qp = qp || {};
|
||||
|
||||
if (version) {
|
||||
qp[RANCHER_VERSION] = version;
|
||||
}
|
||||
|
||||
url = addQueryParams(url, qp);
|
||||
|
||||
return url;
|
||||
|
|
|
|||
Loading…
Reference in New Issue