Skip to content

Commit

Permalink
fix#3113
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed Feb 16, 2025
1 parent 90d47a2 commit 82d42dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions internal/ui/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,12 @@ func (t *Table) GVR() client.GVR { return t.gvr }
func (t *Table) ViewSettingsChanged(vs *config.ViewSetting) {
if t.setViewSetting(vs) {
if vs == nil {
t.setSortCol(model1.SortColumn{})
if !t.getMSort() {
t.setSortCol(model1.SortColumn{})
}
} else {
t.setMSort(false)
}
t.setMSort(false)
t.Refresh()
}
}
Expand Down

0 comments on commit 82d42dd

Please sign in to comment.