diff --git a/src/core/features/settings/pages/dev/dev.html b/src/core/features/settings/pages/dev/dev.html index 37d0b3114..b43b5f36b 100644 --- a/src/core/features/settings/pages/dev/dev.html +++ b/src/core/features/settings/pages/dev/dev.html @@ -19,7 +19,7 @@ -

Text direction

+

Change text direction

{{ direction }}

@@ -58,7 +58,7 @@

Reset user tours

- +
@@ -73,6 +73,9 @@

Disabled features

+ + There are no features disabled +

{{ feature }}

@@ -84,6 +87,9 @@

Site plugins

+ + There are no site plugins installed +

{{ plugin.addon }} ({{plugin.component}})

diff --git a/src/core/features/settings/pages/dev/dev.ts b/src/core/features/settings/pages/dev/dev.ts index f643ed153..85ddbc612 100644 --- a/src/core/features/settings/pages/dev/dev.ts +++ b/src/core/features/settings/pages/dev/dev.ts @@ -104,7 +104,7 @@ export class CoreSettingsDevPage implements OnInit { const disabledFeatures = (await CoreSites.getCurrentSite()?.getPublicConfig())?.tool_mobile_disabledfeatures; - this.disabledFeatures = disabledFeatures?.split(',') || []; + this.disabledFeatures = disabledFeatures?.split(',').filter(feature => feature.trim().length > 0) ?? []; } /**