fix: conditional check for sortable in HeaderCell.vue (#5069)

pull/5098/head
Oğuzhan 2024-01-15 02:42:21 +03:00 committed by GitHub
parent 82bd98fae9
commit ee71eab50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ export default {
}, },
context: { context: {
index: this.index, index: this.index,
sortable: this.column.props.sortable === '' || this.column.props.sortable, sortable: this.column?.props?.sortable === '' || this.column?.props?.sortable,
sorted: this.isColumnSorted(), sorted: this.isColumnSorted(),
resizable: this.resizableColumns, resizable: this.resizableColumns,
size: this.$parentInstance?.$parentInstance?.size, size: this.$parentInstance?.$parentInstance?.size,