Skip to content

Commit

Permalink
make it so late pledge flow is not shown if user has backed late pled…
Browse files Browse the repository at this point in the history
…ge (#1994)
  • Loading branch information
mtgriego authored Mar 28, 2024
1 parent 51cd812 commit 728978e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fun Project.updateProjectWith(config: Config, user: User?): Project {
.build()
}

fun Project.showLatePledgeFlow() = this.isInPostCampaignPledgingPhase() ?: false && this.postCampaignPledgingEnabled() ?: false
fun Project.showLatePledgeFlow() = this.isInPostCampaignPledgingPhase() ?: false && this.postCampaignPledgingEnabled() ?: false && !this.isBacking()

/**
* Checks if the given card type is listed in the available card types
Expand Down

0 comments on commit 728978e

Please sign in to comment.