You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
*ngIf not working with
example
<ais-instantsearch *ngIf="router.url != '/checkout'" [config]="instantsearchConfig"></
this.instantsearchConfig = {
indexName: environment.ALGOLIA_SEARCH_INDEX_NAME,
searchClient: createSSRSearchClient({
makeStateKey,
HttpHeaders,
appId: environment.ALGOLIA_APP_ID,
apiKey: environment.ALGOLIA_API_KEY,
transferState: this.transferState,
httpClient: this.httpClient,
}),
routing: {
router: ssrRouter(() => {
if (this.request) {
// request is only defined on the server side
return this.request.url;
}
return window.location.pathname + window.location.search;
}),
stateMapping: simple(),
},
searchFunction(helper) {
if(helper.state.query && helper.state.query.length > 3) {
helper.search();
}
}
};
The text was updated successfully, but these errors were encountered: