@provoly/dashboard 0.11.7 → 0.11.8
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.
- package/esm2022/lib/dashboard/store/dashboard-init.service.mjs +11 -7
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +8 -4
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +9 -5
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +10 -6
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +1 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +2 -0
- package/widgets/widget-map/style/_o-layer-legend.scss +2 -1
|
@@ -9320,12 +9320,16 @@ class DashboardInitService {
|
|
|
9320
9320
|
this.baseConfig = baseConfig;
|
|
9321
9321
|
}
|
|
9322
9322
|
init() {
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9323
|
+
const properties = ['mapUrl', 'pryUrl', 'wsUrl', 'geoServerUrl'];
|
|
9324
|
+
const config = {};
|
|
9325
|
+
properties.forEach((prop) => {
|
|
9326
|
+
if (!!this.baseConfig[prop]) {
|
|
9327
|
+
config[prop] = this.baseConfig[prop];
|
|
9328
|
+
}
|
|
9329
|
+
});
|
|
9330
|
+
if (Object.keys(config).length > 0) {
|
|
9331
|
+
this.store.dispatch(ConfigActions.defineUrls(config));
|
|
9332
|
+
}
|
|
9329
9333
|
if (!!this.baseConfig.path) {
|
|
9330
9334
|
this.router.config.push({ path: this.baseConfig.path, component: DashboardComponent });
|
|
9331
9335
|
}
|