mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
fix(notifications): fix create user errormessage (#2820)
This commit is contained in:
parent
0f8de0a039
commit
8a7a73fe84
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ angular.module('portainer.app')
|
|||
|
||||
service.error = function(title, e, fallbackText) {
|
||||
var msg = fallbackText;
|
||||
if (e.data && e.data.details) {
|
||||
if (e.err && e.err.data && e.err.data.details) {
|
||||
msg = e.err.data.details;
|
||||
} else if (e.data && e.data.details) {
|
||||
msg = e.data.details;
|
||||
} else if (e.data && e.data.message) {
|
||||
msg = e.data.message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue