mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 23:35:31 +02:00
This reverts commit 12cf4a00f0
.
This commit is contained in:
parent
12cf4a00f0
commit
2f95b449aa
18 changed files with 18 additions and 410 deletions
|
@ -7,7 +7,6 @@ export const ResourceControlTypeString = Object.freeze({
|
|||
STACK: 'stack',
|
||||
VOLUME: 'volume',
|
||||
CUSTOM_TEMPLATE: 'custom-template',
|
||||
CONTAINER_GROUP: 'container-group',
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -22,5 +21,4 @@ export const ResourceControlTypeInt = Object.freeze({
|
|||
STACK: 6,
|
||||
CONFIG: 7,
|
||||
CUSTOM_TEMPLATE: 8,
|
||||
CONTAINER_GROUP: 9,
|
||||
});
|
||||
|
|
|
@ -26,8 +26,6 @@ angular.module('portainer.app').factory('Notifications', [
|
|||
msg = e.data.message;
|
||||
} else if (e.data && e.data.content) {
|
||||
msg = e.data.content;
|
||||
} else if (e.data && e.data.error) {
|
||||
msg = e.data.error;
|
||||
} else if (e.message) {
|
||||
msg = e.message;
|
||||
} else if (e.err && e.err.data && e.err.data.length > 0 && e.err.data[0].message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue