From 036248a6598684dda124c4ae935edb11c0bef665 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 12 Aug 2021 19:14:30 +0530 Subject: [PATCH] handle warnings from history trim, not just errors --- www/common/inner/properties.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/inner/properties.js b/www/common/inner/properties.js index c946ed208..0c5a05959 100644 --- a/www/common/inner/properties.js +++ b/www/common/inner/properties.js @@ -170,7 +170,8 @@ define([ teamId: typeof(owned) === "number" && owned }, function (obj) { spinner.hide(); - if (obj && obj.error) { + if (obj && obj.error || obj.warning) { + console.error(obj.warning); $(size).append(h('div.alert.alert-danger', Messages.trimHistory_error)); return; }