FIX: Incorrect sort order label appearing when it should not (#315)
This commit is contained in:
parent
775610b1c2
commit
d493880c0a
|
@ -103,8 +103,7 @@ export default class SemanticSearch extends Component {
|
|||
if (!this.searchEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.searchPreferencesManager.sortOrder !== 0) {
|
||||
if (this.searchPreferencesManager?.sortOrder !== undefined && this.searchPreferencesManager?.sortOrder !== 0) {
|
||||
this.preventAISearch = true;
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue