Skip to content

Commit

Permalink
fix: conditional check for sortable in HeaderCell.vue (#5069)
Browse files Browse the repository at this point in the history
  • Loading branch information
antlionguard authored Jan 14, 2024
1 parent 82bd98f commit ee71eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/HeaderCell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default {
},
context: {
index: this.index,
sortable: this.column.props.sortable === '' || this.column.props.sortable,
sortable: this.column?.props?.sortable === '' || this.column?.props?.sortable,
sorted: this.isColumnSorted(),
resizable: this.resizableColumns,
size: this.$parentInstance?.$parentInstance?.size,
Expand Down

0 comments on commit ee71eab

Please sign in to comment.