mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 21:40:45 +01:00
Add name of series in instance count chart (#4565)
This commit is contained in:
parent
7bebea087c
commit
9049ecb1cf
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue