RED-9900: removed help mode helper elements from hidden buttons.

This commit is contained in:
Nicoleta Panaghiu 2024-09-19 17:36:15 +03:00
parent 7027de6f6e
commit 05b6f88d64

View File

@ -32,7 +32,7 @@
<div cdkDrag class="editing-value">
<mat-icon
[class.hidden-button]="currentEntry().componentValues.length === 1"
[attr.help-mode-key]="'change_component_order'"
[attr.help-mode-key]="currentEntry().componentValues.length > 1 ? 'change_component_order' : null"
cdkDragHandle
class="draggable"
svgIcon="red:draggable-dots"
@ -44,7 +44,7 @@
(action)="removeValue($index)"
[tooltip]="'component-management.actions.delete' | translate"
[class.hidden-button]="currentEntry().componentValues.length === 1"
[attr.help-mode-key]="'remove_component_value'"
[attr.help-mode-key]="currentEntry().componentValues.length > 1 ? 'remove_component_value' : null"
class="remove-value"
icon="iqser:trash"
></iqser-circle-button>