aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-07 13:16:50 +0200
committerChocobozzz <me@florianbigard.com>2021-06-07 13:20:08 +0200
commit8beea2d37d90e9a12d895f4a9eebc1e532313d8c (patch)
tree22bd28d42531f068517e20a0b9c5344fe6a6aa2c /client/src/app/+admin/config
parent9cc4b9c61f4caa7414420f1c11ba4380c516a7a2 (diff)
downloadPeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.tar.gz
PeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.tar.zst
PeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.zip
Add ability to filter menu links
Diffstat (limited to 'client/src/app/+admin/config')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts
index bac1015fc..671e734ac 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts
+++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts
@@ -82,6 +82,7 @@ export class EditBasicConfigurationComponent implements OnInit, OnChanges {
82 82
83 buildLandingPageOptions () { 83 buildLandingPageOptions () {
84 this.defaultLandingPageOptions = this.menuService.buildCommonLinks(this.serverConfig) 84 this.defaultLandingPageOptions = this.menuService.buildCommonLinks(this.serverConfig)
85 .links
85 .map(o => ({ 86 .map(o => ({
86 id: o.path, 87 id: o.path,
87 label: o.label, 88 label: o.label,