beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 13 forks source link

Policy Portal - Inactive policy from the policy portal is still being applied in the mobility application #2184

Open omkar-em opened 2 months ago

omkar-em commented 2 months ago

Bug Description

Even when a policy is marked as inactive in the policy portal, it is still being applied in the mobility application. This issue causes inactive policies to continue affecting drivers and riders, leading to incorrect policy enforcement.

Steps to Reproduce

  1. Mark a policy as inactive in the policy portal.
  2. Check the mobility application to see if the policy is still being applied.
  3. Observe that the inactive policy is still affecting drivers and riders.

Expected Behavior

Inactive policies should no longer be applied in the mobility application once they are marked as inactive in the policy portal.

Actual Behavior

Inactive policies are still being enforced in the mobility application, despite being marked as inactive in the policy portal.

Figma

NA

Environment

Screenshots/Logs

Image Image

rahul-eminds commented 1 month ago

Fixed the issue. Now inactive policy will not be shown in applied section.

omkar-em commented 1 month ago

image resolved cc: @emmayank