Restore clickable sort headers

pull/973/head
Cagatay Civici 2021-02-07 02:51:05 +03:00
parent 9c966d085c
commit 01311d74de
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ export default {
const targetNode = event.target; const targetNode = event.target;
const columnField = this.columnProp(column, 'sortField') || this.columnProp(column, 'field'); const columnField = this.columnProp(column, 'sortField') || this.columnProp(column, 'field');
if (DomHandler.hasClass(targetNode, 'p-sortable-column') || DomHandler.hasClass(targetNode, 'p-column-title') if (DomHandler.hasClass(targetNode, 'p-sortable-column') || DomHandler.hasClass(targetNode, 'p-column-title') || DomHandler.hasClass(targetNode, 'p-column-header-content')
|| DomHandler.hasClass(targetNode, 'p-sortable-column-icon') || DomHandler.hasClass(targetNode.parentElement, 'p-sortable-column-icon')) { || DomHandler.hasClass(targetNode, 'p-sortable-column-icon') || DomHandler.hasClass(targetNode.parentElement, 'p-sortable-column-icon')) {
DomHandler.clearSelection(); DomHandler.clearSelection();