aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-instance/instance-statistics.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-15 15:53:40 +0100
committerChocobozzz <me@florianbigard.com>2023-02-15 16:08:32 +0100
commitf6cf8e8d8e9bc61dac266886c873613bb715936d (patch)
treee5fb73f19ff933f8d816faf0755a8085b085605c /client/src/app/shared/shared-instance/instance-statistics.component.ts
parent343d1395df2e07ea9eb3540724c9fd689e617cb8 (diff)
downloadPeerTube-f6cf8e8d8e9bc61dac266886c873613bb715936d.tar.gz
PeerTube-f6cf8e8d8e9bc61dac266886c873613bb715936d.tar.zst
PeerTube-f6cf8e8d8e9bc61dac266886c873613bb715936d.zip
Fix stats anchor link
Diffstat (limited to 'client/src/app/shared/shared-instance/instance-statistics.component.ts')
-rw-r--r--client/src/app/shared/shared-instance/instance-statistics.component.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/client/src/app/shared/shared-instance/instance-statistics.component.ts b/client/src/app/shared/shared-instance/instance-statistics.component.ts
deleted file mode 100644
index 0618efe69..000000000
--- a/client/src/app/shared/shared-instance/instance-statistics.component.ts
+++ /dev/null
@@ -1,24 +0,0 @@
1import { Component, OnInit } from '@angular/core'
2import { ServerStats } from '@shared/models/server'
3import { ServerService } from '@app/core'
4
5@Component({
6 selector: 'my-instance-statistics',
7 templateUrl: './instance-statistics.component.html',
8 styleUrls: [ './instance-statistics.component.scss' ]
9})
10export class InstanceStatisticsComponent implements OnInit {
11 serverStats: ServerStats = null
12
13 constructor (
14 private serverService: ServerService
15 ) {
16 }
17
18 ngOnInit () {
19 this.serverService.getServerStats()
20 .subscribe(res => {
21 this.serverStats = res
22 })
23 }
24}