Skip to content

Commit

Permalink
Merge pull request NationalBankBelgium#3400 from mhenkens/bugfix/3391…
Browse files Browse the repository at this point in the history
…-master

fix(stark-ui): fix issue with table on action
  • Loading branch information
SuperITMan committed Jul 5, 2022
2 parents 151eef8 + 20c010e commit 6734bcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
<stark-table-column
*ngIf="tableRowActions && tableRowActions.actions && tableRowActions.actions.length"
[sortable]="false"
[name]="'STARK.TABLE.ACTIONS' | translate"
[name]="'Actions'"
[headerLabel]="'STARK.TABLE.ACTIONS' | translate"
[stickyEnd]="tableRowActions.isFixed"
>
<ng-template let-context>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ describe("TableComponent", () => {
});

describe("column actions", () => {
const actionsColumnSelector = "table thead tr th.mat-column-STARK-TABLE-ACTIONS";
const actionsColumnSelector = "table thead tr th.mat-column-Actions";

it("should display the 'actions' column when 'tableRowActions' contains some actions", () => {
hostComponent.tableRowActions = {
Expand Down

0 comments on commit 6734bcd

Please sign in to comment.