diff --git a/npm/ng-packs/packages/components/extensible/src/lib/components/grid-actions/grid-actions.component.html b/npm/ng-packs/packages/components/extensible/src/lib/components/grid-actions/grid-actions.component.html index 70e22ee3cf..10ff2bc1b4 100644 --- a/npm/ng-packs/packages/components/extensible/src/lib/components/grid-actions/grid-actions.component.html +++ b/npm/ng-packs/packages/components/extensible/src/lib/components/grid-actions/grid-actions.component.html @@ -1,55 +1,81 @@ @if (actionList.length > 1) { -
- -
- @for (action of actionList; track action.text) { - - - } +
+ +
+ @for (action of actionList; track $index) { + + } +
-
} @if (actionList.length === 1) { - + } @if (action.visible(data)) { - + } @if (!action.showOnlyIcon) { - @if (action.icon) { - {{ action.text | abpLocalization }} - } @else { -
{{ action.text | abpLocalization }}
- } + @if (action.icon) { + {{ action.text | abpLocalization }} + } @else { +
{{ action.text | abpLocalization }}
+ } }
@if (action.visible(data)) { - @if (action.tooltip) { - - } @else { - - } + @if (action.tooltip) { + + } @else { + + } } - \ No newline at end of file +