@provoly/dashboard 1.3.0 → 1.3.1
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/admin/components/admin-dataset/store/admin-dataset.service.mjs +5 -4
- package/esm2022/admin/i18n/fr.translations.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +4 -4
- package/esm2022/mock/service/mock-i18n.service.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +9 -7
- package/fesm2022/provoly-dashboard-admin.mjs +5 -4
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-mock.mjs +1 -1
- package/fesm2022/provoly-dashboard-mock.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +8 -6
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +3 -3
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/mock/service/mock-i18n.service.d.ts +1 -1
- package/package.json +1 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +1 -1
|
@@ -6516,7 +6516,7 @@ const frTranslations = {
|
|
|
6516
6516
|
entities: {
|
|
6517
6517
|
dashboard: 'Tableaux de bord'
|
|
6518
6518
|
},
|
|
6519
|
-
addTag: 'Ajouter un
|
|
6519
|
+
addTag: 'Ajouter un nouveau tag'
|
|
6520
6520
|
},
|
|
6521
6521
|
'abac-rules': {
|
|
6522
6522
|
delete: 'Supprimer',
|
|
@@ -6804,9 +6804,10 @@ class AdminDatasetService {
|
|
|
6804
6804
|
this.httpClient = httpClient;
|
|
6805
6805
|
}
|
|
6806
6806
|
addDataset(dataset) {
|
|
6807
|
-
return this.store
|
|
6808
|
-
|
|
6809
|
-
.
|
|
6807
|
+
return this.store.select(ConfigSelectors.refUrl).pipe(mergeMap((url) => this.httpClient.post(encodeURI(`${url}/datasets`), {
|
|
6808
|
+
...dataset,
|
|
6809
|
+
categories: dataset.categories?.map((category) => category.id)
|
|
6810
|
+
})));
|
|
6810
6811
|
}
|
|
6811
6812
|
updateDataset(dataset) {
|
|
6812
6813
|
return this.store.select(ConfigSelectors.refUrl).pipe(mergeMap((url) => this.httpClient.put(encodeURI(`${url}/datasets`), {
|