DEV: Not necessary to show modal with errors (#444)

This commit is contained in:
Keegan George 2024-01-26 09:54:43 -08:00 committed by GitHub
parent 092da860e2
commit 4c4b418cff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import { inject as service } from "@ember/service";
import DToggleSwitch from "discourse/components/d-toggle-switch";
import { SEARCH_TYPE_DEFAULT } from "discourse/controllers/full-page-search";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { withPluginApi } from "discourse/lib/plugin-api";
import { isValidSearchTerm, translateResults } from "discourse/lib/search";
import icon from "discourse-common/helpers/d-icon";
@ -160,7 +159,6 @@ export default class SemanticSearch extends Component {
this.AIResults = model.posts;
})
.catch(popupAjaxError)
.finally(() => (this.searching = false));
}