@openmfp/portal-ui-lib 0.194.31 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1633,10 +1633,10 @@ class LocalConfigurationServiceImpl {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
async getLocalConfigurations(localDevelopmentSettings) {
|
|
1635
1635
|
const initialConfigurations = localDevelopmentSettings.configs
|
|
1636
|
-
.filter((config) => !!config.data)
|
|
1636
|
+
.filter((config) => !!config.data && config.active !== false)
|
|
1637
1637
|
.map((config) => config.data);
|
|
1638
1638
|
const configurations = (await Promise.allSettled(localDevelopmentSettings.configs
|
|
1639
|
-
.filter((config) => !!config.url)
|
|
1639
|
+
.filter((config) => !!config.url && config.active !== false)
|
|
1640
1640
|
.map((config) => lastValueFrom(this.http.get(config.url)).then((contentConfiguration) => ({
|
|
1641
1641
|
...contentConfiguration,
|
|
1642
1642
|
url: config.url,
|