Add team usage bar

This commit is contained in:
yflory
2019-09-23 15:45:24 +02:00
parent 17fbaea5d0
commit b1dab8e75a
8 changed files with 43 additions and 36 deletions

View File

@@ -327,9 +327,9 @@ define([
if (cb) { cb(data); }
});
};
funcs.getPinUsage = function (cb) {
funcs.getPinUsage = function (teamId, cb) {
cb = cb || $.noop;
ctx.sframeChan.query('Q_PIN_GET_USAGE', null, function (err, data) {
ctx.sframeChan.query('Q_PIN_GET_USAGE', teamId, function (err, data) {
cb(err || data.error, data.data);
});
};