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 e389529bee
commit b183b33843

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))