mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Old Table: Table is not rendering when col property is undefined (#44129)
This commit is contained in:
@@ -41,7 +41,8 @@ export default class TableModel implements TableData {
|
||||
}
|
||||
|
||||
sort(options: { col: number; desc: boolean }) {
|
||||
if (options.col === null || this.columns.length <= options.col) {
|
||||
// Since 8.3.0 col property can be also undefined, https://github.com/grafana/grafana/issues/44127
|
||||
if (options.col === null || options.col === undefined || this.columns.length <= options.col) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user