mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-23 08:02:31 +00:00
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…
x
Reference in New Issue
Block a user