Skip to content

Commit 44b3008

Browse files
committed
disable image sort
1 parent b33886b commit 44b3008

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/datasets/dataset-table/dataset-table.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ export class DatasetTableComponent implements OnInit, OnDestroy {
471471

472472
if (column.name === "image") {
473473
convertedColumn.renderImage = true;
474+
convertedColumn.sort = "none";
474475
}
475476

476477
if (column.name === "instrumentName") {

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' || column.name === 'image'"
117+
[disabled]="column.sort === 'none'"
118118
class="header-caption"
119119
>
120120
{{ column.header || column.name | translate: localization }}

0 commit comments

Comments
 (0)