Web: Fix empty error toast

This commit is contained in:
Alexey Safronov 2021-09-13 14:58:20 +03:00
parent c7ad040293
commit 1a257fcf0b

View File

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