Disable range-select in menu and suggestions view

We don't need it there so no need to enable it.

I'm leaving the disabled reason checks there, even though they're now redundant,
because they're only one-liners and they communicate intent.
This commit is contained in:
Jesse Duffield 2024-01-15 20:12:53 +11:00
parent 51fb82d6bf
commit 1ea0c270df
5 changed files with 29 additions and 4 deletions

View file

@ -118,3 +118,8 @@ func (self *ListContextTrait) IsItemVisible(item types.HasUrn) bool {
}
return false
}
// By default, list contexts supporta range select
func (self *ListContextTrait) RangeSelectEnabled() bool {
return true
}