1
0

97732 Fixed bug where ContextHelpWrapperComponent subscriptions would not properly be initialized if the application launches with help icons hidden by default

This commit is contained in:
Koen Pauwels
2023-01-05 12:06:14 +01:00
parent e16a3edf78
commit 920e36ecf2
12 changed files with 56 additions and 41 deletions

View File

@@ -52,7 +52,7 @@ export class ContextHelpDirective implements OnChanges, OnDestroy {
ngOnChanges() {
this.clearMostRecentId();
this.mostRecentId = this.dsContextHelp.id;
this.contextHelpService.add({id: this.dsContextHelp.id}); // TODO: tooltipVisible field
this.contextHelpService.add({id: this.dsContextHelp.id, isTooltipVisible: false});
const factory
= this.componentFactoryResolver.resolveComponentFactory(ContextHelpWrapperComponent);