This commit is contained in:
CITE\spapacharalampous 2024-07-16 15:02:12 +03:00
parent 6bfc186297
commit 5bd1861cc7
1 changed files with 3 additions and 3 deletions

View File

@ -130,11 +130,11 @@ export class PlanEditorEntityResolver extends BaseEditorResolver {
...PlanEditorEntityResolver.lookupFields()
];
const id = route.paramMap.get('id');
const fieldsetId = route.paramMap.get('fieldsetId');
const fieldId = route.paramMap.get('fieldId');
if (id != null) {
return this.descriptionService.getSingle(Guid.parse(id), fields).pipe(tap(x => {
if (fieldsetId) {
this.breadcrumbService.addExcludedParam(fieldsetId, true);
if (fieldId) {
this.breadcrumbService.addExcludedParam(fieldId, true);
this.breadcrumbService.addExcludedParam('f', true);
this.breadcrumbService.addExcludedParam('annotation', true);
}