Skip to content

Commit b33886b

Browse files
committed
fix(table): disable sorting for 'image' column in dynamic material table
1 parent 519f1de commit b33886b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/modules/dynamic-material-table/table/dynamic-mat-table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
| translate: localization
115115
"
116116
matTooltipClass="cell-tooltip"
117-
[disabled]="column.sort === 'none'"
117+
[disabled]="column.sort === 'none' || column.name === 'image'"
118118
class="header-caption"
119119
>
120120
{{ column.header || column.name | translate: localization }}

0 commit comments

Comments
 (0)