Summary view + restricting smart actions not working correctly

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

Summary View (before refresh)

Summary View (after refresh)

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

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 :pray:

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

1 Like

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 :pray:

3 Likes

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!

3 Likes

Thanks to you guys, it works just fine.

1 Like