Skip to content

Commit

Permalink
Fix toc action filter if showSortSelectInUserMode is set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Sep 15, 2022
1 parent 2a8ea66 commit cb426d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export default declare({
const opts = Object.assign({}, properties.defaultQueryOptions || {}, options || {}, {
suggestContains: false
});
if (properties.showSortSelectInUserMode && !editable) {
if (properties.showSortSelectInUserMode && !editable && !layer) {
sortOptions = this.getSortOptions();
opts.sort = sortOptions;
}
Expand Down

0 comments on commit cb426d2

Please sign in to comment.