mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #17272 from filamentphp/Fix-updating-table-grouping
Fix updating table grouping
This commit is contained in:
@@ -275,6 +275,9 @@
|
||||
|
||||
$watch('grouping', function () {
|
||||
if (! grouping) {
|
||||
group = null
|
||||
direction = null
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
@@ -300,7 +303,7 @@
|
||||
return
|
||||
}
|
||||
|
||||
direction = 'asc'
|
||||
direction ??= 'asc'
|
||||
grouping = group ? `${group}:${direction}` : null
|
||||
})
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user