# Summary view + restricting smart actions not working correctly

**URL:** <https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413>\
**Category:** Help me!\
**Created:** [June 4, 2020, 12:43pm UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413 "2020-06-04T12:43:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/andrew/32/72_2.png) [@Andrew](https://community.forestadmin.com/u/Andrew)\
**Post date:** [June 4, 2020, 12:43pm UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/1 "2020-06-04T12:43:16Z")

</div>

## Expected behavior

Restricting a smart action based on more than one segment should allow the button to be clicked in summary view of an individual record.

## Actual behavior

On the list view, the button appears correctly (clickable) in the `Action` dropdown.  
However, in the summary view, the action is disabled.  
It is then enabled after doing a browser refresh.

List View

 ![Screen Shot 2020-06-04 at 13.33.12](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/5839dd411cb0b0a1f4f3922ea11cab0a05d6c319.png)

Summary View (before refresh)

 ![Screen Shot 2020-06-04 at 13.33.28](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/b0fa89f564b770d4e94f04a751e2a4863ca4525e.png)

Summary View (after refresh)

 ![Screen Shot 2020-06-04 at 13.33.40](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/3e715c41c2a5f929d0e661452d02c236ce545d96.png)

## Failure Logs

Please include any relevant log snippets, if necessary.

## Context

Please provide any relevant information about your setup.

- Package Version:
- Express Version:
- Sequelize Version:
- Database Dialect: Postgres
- Database Version: 11
- Project Name: Apollo.1

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [June 9, 2020, 7:18am UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/2 "2020-06-09T07:18:40Z")

</div>

Hi @Andrew,

Can I ask you to share the segments filters conditions to let us easily reproduce your setup and issue?

Thanks for your help 🙏

---

<div class="post-metadata">

**Author:** ![JeremyV](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jeremyv/32/1033_2.png) [@JeremyV](https://community.forestadmin.com/u/JeremyV)\
**Post date:** [January 4, 2021, 10:56am UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/3 "2021-01-04T10:56:55Z")

</div>

I have the same issue here.

- I have created a segment based on a record status.
- I created a smart action only available for this specific segment
- I added the smart action button in the summary view

The button is disabled, i change the status in order to enable the action =\> the button is still disabled  
I refresh the page =\> the button is enabled

The button is enabled, i change the status in order to disable the action =\> the button is still enabled  
I refresh the page =\> the button is disabled

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [January 4, 2021, 11:34am UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/4 "2021-01-04T11:34:48Z")

</div>

Hi @JeremyV,

I’m able to reproduce this issue. I’ll open an issue on our end and we will let you know once fixed 🙏

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [January 7, 2021, 11:06am UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/5 "2021-01-07T11:06:10Z")

</div>

Hi @Andrew, @JeremyV,

This issue should be fixed by now.  
Let us know if it’s working well on your sides.

Thanks for bringing that up!

---

<div class="post-metadata">

**Author:** ![JeremyV](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jeremyv/32/1033_2.png) [@JeremyV](https://community.forestadmin.com/u/JeremyV)\
**Post date:** [January 7, 2021, 2:24pm UTC](https://community.forestadmin.com/t/summary-view-restricting-smart-actions-not-working-correctly/413/6 "2021-01-07T14:24:39Z")

</div>

Thanks to you guys, it works just fine.
