@valtimo/dossier 5.9.0 → 5.9.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.
|
@@ -1100,12 +1100,17 @@ class TabService {
|
|
|
1100
1100
|
});
|
|
1101
1101
|
}
|
|
1102
1102
|
getConfigurableTabs(documentDefinitionName) {
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1103
|
+
if (this.configService?.config?.caseObjectTypes) {
|
|
1104
|
+
const allNamesObjects = this.configService?.config?.caseObjectTypes[documentDefinitionName];
|
|
1105
|
+
const map = new Map();
|
|
1106
|
+
allNamesObjects?.forEach(name => {
|
|
1107
|
+
map.set(name, DossierDetailTabObjectTypeComponent);
|
|
1108
|
+
});
|
|
1109
|
+
this.extraTabs = map;
|
|
1110
|
+
}
|
|
1111
|
+
else {
|
|
1112
|
+
this.extraTabs = new Map();
|
|
1113
|
+
}
|
|
1109
1114
|
}
|
|
1110
1115
|
openRouterSubscription() {
|
|
1111
1116
|
this.router.events.subscribe((event) => {
|