diff --git a/frontend/src/common/js/ajax.js b/frontend/src/common/js/ajax.js index b7dc6bff95..c285fe0655 100644 --- a/frontend/src/common/js/ajax.js +++ b/frontend/src/common/js/ajax.js @@ -43,7 +43,7 @@ export default { success(response.data); } else { window.console.warn(response.data); - Message.warning(response.data.message); + Message.warning(response.data.message || response.data); } result.loading = false; }