mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 16:01:20 -03:30
* Bring UI/UX inline with recent changes * Use select components as a stopgap for credential_types and orgs * Add tabs to permissions view * Add Organization model
19 lines
362 B
JavaScript
19 lines
362 B
JavaScript
let BaseModel;
|
|
|
|
function OrganizationModel (method) {
|
|
BaseModel.call(this, 'organizations');
|
|
|
|
return this.request(method)
|
|
.then(() => this);
|
|
}
|
|
|
|
function OrganizationModelLoader (_BaseModel_) {
|
|
BaseModel = _BaseModel_;
|
|
|
|
return OrganizationModel;
|
|
}
|
|
|
|
OrganizationModelLoader.$inject = ['BaseModel'];
|
|
|
|
export default OrganizationModelLoader;
|