Web: Fix empty error toast
This commit is contained in:
parent
c7ad040293
commit
1a257fcf0b
@ -87,6 +87,8 @@ function error(data, title, timeout, withCross, centerPosition) {
|
||||
? data
|
||||
: dataType === "object" && data.statusText
|
||||
? data.statusText
|
||||
: dataType === "object" && data.message
|
||||
? data.message
|
||||
: "";
|
||||
|
||||
return notify("error", message, title, timeout, withCross, centerPosition);
|
||||
|
Loading…
Reference in New Issue
Block a user