Add name of series in instance count chart (#4565)

This commit is contained in:
Zero King 2019-03-22 05:57:09 +00:00 committed by syuilo
parent 7bebea087c
commit 9049ecb1cf

View File

@ -245,6 +245,7 @@ export default Vue.extend({
federationInstancesChart(total: boolean): any {
return {
series: [{
name: 'Instances',
data: this.format(total
? this.stats.federation.instance.total
: sum(this.stats.federation.instance.inc, negate(this.stats.federation.instance.dec))