@empathyco/x-components
Version:
Empathy X Components
19 lines (10 loc) • 844 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesConfig](./x-components.historyqueriesconfig.md) > [hideIfEqualsQuery](./x-components.historyqueriesconfig.hideifequalsquery.md)
## HistoryQueriesConfig.hideIfEqualsQuery property
Hides a history query if it is equal to the current query of the module.
**Signature:**
```typescript
hideIfEqualsQuery: boolean;
```
## Example
When `hideIfEqualsQuery` is set to `true`<!-- -->, and given the following queries in the history: `ribs`<!-- -->, `ribeye`<!-- -->, `new york strip`<!-- -->, `angus new york strip` and `pork belly`<!-- -->; and the query `new york strip`<!-- -->, the only displayed history query will be `angus new york strip`<!-- -->.