From 62654db49d0ca9416045cf096a869ef4cbfc8938 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Wed, 27 Jul 2022 17:43:55 +0300 Subject: [PATCH] fix help mode when is not dialog open --- src/lib/help-mode/help-button/help-button.component.ts | 2 +- src/lib/listing/page-header/page-header.component.html | 8 ++++---- .../listing/scroll-button/scroll-button.component.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) 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 830183f..8a017b9 100644 --- a/src/lib/help-mode/help-button/help-button.component.ts +++ b/src/lib/help-mode/help-button/help-button.component.ts @@ -7,7 +7,7 @@ import { HelpModeService } from '../index'; templateUrl: './help-button.component.html', }) export class HelpButtonComponent implements OnInit, OnDestroy { - @Input() dialogButton = true; + @Input() dialogButton = false; @Input() helpButtonKey?: string; constructor(private readonly _helpModeService: HelpModeService) {} diff --git a/src/lib/listing/page-header/page-header.component.html b/src/lib/listing/page-header/page-header.component.html index b0a336b..51f77af 100644 --- a/src/lib/listing/page-header/page-header.component.html +++ b/src/lib/listing/page-header/page-header.component.html @@ -61,8 +61,8 @@ [icon]="config.icon" [id]="config.id" [iqserHelpMode]="config.helpModeKey" + [tooltipPosition]="'below'" [tooltip]="config.label" - tooltipPosition="below" > @@ -73,10 +73,10 @@ (action)="closeAction.emit()" *ngIf="showCloseButton" [class.ml-6]="actionConfigs" + [icon]="'iqser:close'" + [iqserHelpMode]="'edit_dossier_in_dossier'" + [tooltipPosition]="'below'" [tooltip]="'common.close' | translate" - icon="iqser:close" - iqserHelpMode="edit_dossier_in_dossier" - tooltipPosition="below" > diff --git a/src/lib/listing/scroll-button/scroll-button.component.html b/src/lib/listing/scroll-button/scroll-button.component.html index 99c4c42..c35d6e3 100644 --- a/src/lib/listing/scroll-button/scroll-button.component.html +++ b/src/lib/listing/scroll-button/scroll-button.component.html @@ -1,8 +1,8 @@