Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit 9be34b7

Browse files
Bugfix
1 parent 82501bf commit 9be34b7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎js/Components/HeaderCell.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default {
99
1010
methods: {
1111
onClick() {
12-
this.cell.onSort(this.cell.key);
12+
if (this.cell.sortable) {
13+
this.cell.onSort(this.cell.key);
14+
}
1315
},
1416
},
1517
};

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@protonemedia/inertiajs-tables-laravel-query-builder",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Inertia.js Front-end Components for Spatie's Laravel Query Builder",
55
"main": "js/index.js",
66
"scripts": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /