mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
fix(datatable): 🐛 Ordinamento non funzionante
This commit is contained in:
@ -98,8 +98,11 @@ export default class TableColumn extends Component {
|
||||
button.prop('on', onValue);
|
||||
|
||||
if (classList.contains(ascendingClass) || classList.contains(descendingClass)) {
|
||||
$(this.element).css('cursor', 'auto').off('click');
|
||||
$(this.element).css('cursor', 'auto');
|
||||
button.show();
|
||||
} else if (!classList.contains(ascendingClass) && !classList.contains(descendingClass)) {
|
||||
$(this.element).css('cursor', 'pointer');
|
||||
button.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user