1
0
Fork 0
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:
fhanportainer 2021-04-13 23:55:11 +12:00 committed by GitHub
parent d09ae22ba8
commit 12cf4a00f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 410 additions and 18 deletions

View file

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

View file

@ -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) {