fix help mode when is not dialog open
This commit is contained in:
parent
0fe38910be
commit
62654db49d
@ -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) {}
|
||||
|
||||
@ -61,8 +61,8 @@
|
||||
[icon]="config.icon"
|
||||
[id]="config.id"
|
||||
[iqserHelpMode]="config.helpModeKey"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="config.label"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
</ng-container>
|
||||
|
||||
@ -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"
|
||||
></iqser-circle-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<button
|
||||
(click)="scroll(buttonType.top)"
|
||||
[hidden]="(showScrollUp$ | async) === false"
|
||||
[iqserHelpMode]="helpModeKey + '_list'"
|
||||
class="scroll-button top pointer"
|
||||
iqserHelpMode="{{ helpModeKey }}_list"
|
||||
id="scroll-up"
|
||||
>
|
||||
<mat-icon svgIcon="iqser:arrow-down-o"></mat-icon>
|
||||
@ -11,8 +11,8 @@
|
||||
<button
|
||||
(click)="scroll(buttonType.bottom)"
|
||||
[hidden]="(showScrollDown$ | async) === false"
|
||||
[iqserHelpMode]="helpModeKey + '_list'"
|
||||
class="scroll-button bottom pointer"
|
||||
iqserHelpMode="{{ helpModeKey }}_list"
|
||||
id="scroll-down"
|
||||
>
|
||||
<mat-icon svgIcon="iqser:arrow-down-o"></mat-icon>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user