Improve trim history UI when completed

This commit is contained in:
yflory
2020-02-11 12:05:09 +01:00
parent 0f697ac865
commit b585cbba42
3 changed files with 39 additions and 19 deletions

View File

@@ -191,9 +191,7 @@ define([
nThen(function (waitFor) {
channels.forEach(function (obj) {
console.warn(obj); // XXX
rpc.trimHistory(obj, waitFor(function (err) {
console.error(obj.channel, arguments); // XXX
if (err) {
warning.push(err);
return;