mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Use HTML config when possible
This commit is contained in:
parent
8e08d415f9
commit
2989628b79
47 changed files with 265 additions and 351 deletions
|
@ -1,4 +1,4 @@
|
|||
<div class="feature-table">
|
||||
<div *ngIf="serverConfig" class="feature-table">
|
||||
|
||||
<table class="table" *ngIf="serverConfig">
|
||||
<caption i18n>Features found on this instance</caption>
|
||||
|
|
|
@ -40,7 +40,6 @@ export class InstanceFeaturesTableComponent implements OnInit {
|
|||
}
|
||||
|
||||
ngOnInit () {
|
||||
this.serverConfig = this.serverService.getTmpConfig()
|
||||
this.serverService.getConfig()
|
||||
.subscribe(config => {
|
||||
this.serverConfig = config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue