table: Fix disabled sort field change to default (#451)
Co-authored-by: linxin <xin.lin@longbridge-inc.com>
This commit is contained in:
parent
8c464d6709
commit
09455df61c
1 changed files with 3 additions and 1 deletions
|
|
@ -535,7 +535,9 @@ where
|
|||
if ix == col_ix {
|
||||
col_group.sort = Some(sort);
|
||||
} else {
|
||||
col_group.sort = Some(ColSort::Default);
|
||||
if col_group.sort.is_some() {
|
||||
col_group.sort = Some(ColSort::Default);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue