Display an upgrade button in the settings page

This commit is contained in:
yflory
2017-05-16 10:34:50 +02:00
parent c1b43db363
commit 87fa28180a
4 changed files with 15 additions and 15 deletions

View File

@@ -126,7 +126,7 @@ define([
rpc.send('UPDATE_LIMITS', undefined, function (e, response) {
if (e) { return void cb(e); }
if (response && response.length && typeof(response[0]) === "number") {
cb (void 0, response);
cb (void 0, response[0], response[1]);
} else {
cb('INVALID_RESPONSE');
}
@@ -137,7 +137,7 @@ define([
rpc.send('GET_LIMIT', undefined, function (e, response) {
if (e) { return void cb(e); }
if (response && response.length && typeof(response[0]) === "number") {
cb (void 0, response[0]);
cb (void 0, response[0], response[1]);
} else {
cb('INVALID_RESPONSE');
}