diff --git a/src/lib/help-mode/help-button/help-button.component.ts b/src/lib/help-mode/help-button/help-button.component.ts index 5fe7bac..830183f 100644 --- a/src/lib/help-mode/help-button/help-button.component.ts +++ b/src/lib/help-mode/help-button/help-button.component.ts @@ -7,6 +7,7 @@ import { HelpModeService } from '../index'; templateUrl: './help-button.component.html', }) export class HelpButtonComponent implements OnInit, OnDestroy { + @Input() dialogButton = true; @Input() helpButtonKey?: string; constructor(private readonly _helpModeService: HelpModeService) {} @@ -25,6 +26,6 @@ export class HelpButtonComponent implements OnInit, OnDestroy { window.open(url, '_blank'); return; } - this._helpModeService.activateHelpMode(); + this._helpModeService.activateHelpMode(this.dialogButton); } }