forked from mirror/misskey
Add name of series in instance count chart (#4565)
This commit is contained in:
parent
7bebea087c
commit
9049ecb1cf
@ -245,6 +245,7 @@ export default Vue.extend({
|
|||||||
federationInstancesChart(total: boolean): any {
|
federationInstancesChart(total: boolean): any {
|
||||||
return {
|
return {
|
||||||
series: [{
|
series: [{
|
||||||
|
name: 'Instances',
|
||||||
data: this.format(total
|
data: this.format(total
|
||||||
? this.stats.federation.instance.total
|
? this.stats.federation.instance.total
|
||||||
: sum(this.stats.federation.instance.inc, negate(this.stats.federation.instance.dec))
|
: sum(this.stats.federation.instance.inc, negate(this.stats.federation.instance.dec))
|
||||||
|
Loading…
Reference in New Issue
Block a user