Skip to content

Commit

Permalink
fix: issue where reason was not listed for fixed-to-float or vicevers…
Browse files Browse the repository at this point in the history
…a change (binary-com#11674)
  • Loading branch information
nada-deriv committed Dec 12, 2023
1 parent b35b1f7 commit e724700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/p2p/src/pages/my-ads/my-ads-row-renderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ const MyAdsRowRenderer = observer(({ row: advert }) => {
updated_visibility_status = [...updated_visibility_status, 'advertiser_ads_paused'];
if (!enable_action_point && updated_visibility_status.includes('advert_inactive'))
updated_visibility_status = updated_visibility_status.filter(status => status !== 'advert_inactive');
if (enable_action_point && !updated_visibility_status.includes('advert_inactive'))
updated_visibility_status = [...updated_visibility_status, 'advert_inactive'];
return updated_visibility_status;
};

Expand Down

0 comments on commit e724700

Please sign in to comment.