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:
mabashian
2019-01-21 15:44:09 -05:00
parent 4f929c7052
commit 2c19a5a1d7
7 changed files with 25 additions and 40 deletions

View File

@@ -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);
}