Merge branch 'RED-9900' into 'master'

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

See merge request redactmanager/red-ui!573
This commit is contained in:
Dan Percic 2024-09-19 16:59:11 +02:00
commit 94cbb2cf3d

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>