mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 11:51:48 -05:00
Updated delete warnings to indicate resources that may be invalidated as a result of deletion
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
let BaseModel;
|
||||
let ModelsStrings;
|
||||
|
||||
function OrganizationModel (method, resource, graft) {
|
||||
BaseModel.call(this, 'organizations');
|
||||
|
||||
this.Constructor = OrganizationModel;
|
||||
this.label = ModelsStrings.get('labels.ORGANIZATION');
|
||||
|
||||
return this.create(method, resource, graft);
|
||||
}
|
||||
|
||||
function OrganizationModelLoader (_BaseModel_) {
|
||||
function OrganizationModelLoader (
|
||||
_BaseModel_,
|
||||
_ModelsStrings_
|
||||
) {
|
||||
BaseModel = _BaseModel_;
|
||||
ModelsStrings = _ModelsStrings_;
|
||||
|
||||
return OrganizationModel;
|
||||
}
|
||||
|
||||
OrganizationModelLoader.$inject = ['BaseModel'];
|
||||
OrganizationModelLoader.$inject = [
|
||||
'BaseModel',
|
||||
'ModelsStrings'
|
||||
];
|
||||
|
||||
export default OrganizationModelLoader;
|
||||
|
||||
Reference in New Issue
Block a user