<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [PopularSearchesConfig](./x-components.popularsearchesconfig.md) &gt; [hideSessionQueries](./x-components.popularsearchesconfig.hidesessionqueries.md)

## PopularSearchesConfig.hideSessionQueries property

Hides the popular searches that have been already searched during the session.

**Signature:**

```typescript
hideSessionQueries: boolean;
```

## Example 1

When set to true:

```
query = 'shorts';
query = 'trousers';
suggestions = ['t-shirt', 'shorts', 'dress']
// Suggests ['t-shirt', 'dress']
```

## Example 2

When set to false:

```
query = 'shorts';
query = 'trousers';
suggestions = ['t-shirt', 'shorts', 'dress']
// Suggests ['t-shirt', 'shorts', 'dress']
```

