mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Changed post to create in api.js. Removed capitalize text component in favor of css solution. Updates to empty list contents. Fixes padding on notifications list
This commit is contained in:
@@ -88,18 +88,18 @@ class APIClient {
|
||||
return this.http.get(endpoint, { params });
|
||||
}
|
||||
|
||||
postOrganizationNotificationSuccess (id, data) {
|
||||
createOrganizationNotificationSuccess (id, data) {
|
||||
const endpoint = `${API_ORGANIZATIONS}${id}/notification_templates_success/`;
|
||||
|
||||
return this.http.post(endpoint, data);
|
||||
}
|
||||
|
||||
postOrganizationNotificationError (id, data) {
|
||||
createOrganizationNotificationError (id, data) {
|
||||
const endpoint = `${API_ORGANIZATIONS}${id}/notification_templates_error/`;
|
||||
|
||||
return this.http.post(endpoint, data);
|
||||
}
|
||||
|
||||
|
||||
getInstanceGroups () {
|
||||
return this.http.get(API_INSTANCE_GROUPS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user