Skip to content

fix disabled create insight button

Administrator requested to merge jdb/fix-disabled-create-insight into main

Created by: unclejustin

The create insight button on the create insight screen was erroneously counting all insights instead of just nonfrozen insights. This caused the create insight button to be disabled if there was more than 2 insights total.

This PR filters the insight count to only include non-frozen insights.

Test plan

  • Set up local instance with starter license.
  • Go to insights
  • Create insights until you have two unlocked insights
  • Should not be able to create any more

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading