Skip to content

Commit

Permalink
Add Status
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhbhatia committed Sep 24, 2024
1 parent 51b6c52 commit 664f78b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/products/issue_cover_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def is_purchased?
end

def issue_cta
return coming_soon_text if @product.draft?
return buy_button if is_onboarded? && !is_free?
return login_and_read_link if is_free? && @user.nil?
return get_free_button if is_free? && @user && !is_purchased?
Expand Down

0 comments on commit 664f78b

Please sign in to comment.