Skip to content

Commit 8125194

Browse files
committed
change rowcommand hint to title in data-table rowcommand
1 parent 1988971 commit 8125194

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

projects/narik-ui-material/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "narik-ui-material",
3-
"version": "1.0.9",
3+
"version": "1.0.11",
44
"peerDependencies": {
55
"@angular/common": "^7.0.0",
66
"@angular/core": "^7.0.0",

projects/narik-ui-material/src/lib/narik-mat-data-table/narik-mat-data-table.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@
5959
<narik-mat-button [cssClass]="'item-full-width'" *ngFor="let item of rowCommands"
6060
(nClick)="rowCommandClicked(item.commandKey, element)" label=" {{ item.label | translate }}"
6161
[buttonStyle]="'mat-flat-button'" [icon]="item.icon"
62-
matTooltip="{{ item.hint || item.commandKey | translate }}">
62+
matTooltip="{{ item.title || item.commandKey | translate }}">
6363
</narik-mat-button>
6464
</mat-menu>
6565
</ng-container>
6666
<ng-container *ngIf="rowCommandType === 'Flat'">
6767
<mat-icon class="table-command-menu" *ngFor="let item of rowCommands"
6868
(click)="rowCommandClicked(item.commandKey, element)"
69-
matTooltip="{{ item.hint || item.commandKey | translate }}">{{ item.icon }}</mat-icon>
69+
matTooltip="{{ item.title || item.commandKey | translate }}">{{ item.icon }}</mat-icon>
7070
</ng-container>
7171
</div>
7272
</td>

0 commit comments

Comments
 (0)