mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
feat(ACI): add UAC to ACI (#4952)
This commit is contained in:
parent
d09ae22ba8
commit
12cf4a00f0
18 changed files with 410 additions and 18 deletions
|
@ -7,6 +7,7 @@ export const ResourceControlTypeString = Object.freeze({
|
|||
STACK: 'stack',
|
||||
VOLUME: 'volume',
|
||||
CUSTOM_TEMPLATE: 'custom-template',
|
||||
CONTAINER_GROUP: 'container-group',
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -21,4 +22,5 @@ export const ResourceControlTypeInt = Object.freeze({
|
|||
STACK: 6,
|
||||
CONFIG: 7,
|
||||
CUSTOM_TEMPLATE: 8,
|
||||
CONTAINER_GROUP: 9,
|
||||
});
|
||||
|
|
|
@ -26,6 +26,8 @@ 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