mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(notification): fix error in kube application stack name with space EE-1726 (#5691)
* fix error in kube application stack name with space
This commit is contained in:
parent
4267304e50
commit
48c762c98b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ angular.module('portainer.app').factory('Notifications', [
|
|||
|
||||
service.error = function (title, e, fallbackText) {
|
||||
var msg = fallbackText;
|
||||
if (e.err && e.err.data && e.err.data.details) {
|
||||
if (e.err && e.err.data && e.err.data.details && typeof e.err.data.details === 'string') {
|
||||
msg = e.err.data.details;
|
||||
} else if (e.err && e.err.data && e.err.data.message) {
|
||||
msg = e.err.data.message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue