mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
Merge branch 'feat/CE-414/add-UAC-to-ACI' of https://github.com/portainer/portainer into feat/CE-414/add-UAC-to-ACI
This commit is contained in:
commit
effb0f6272
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