Fix(Expense flow): Show vendors option if there are vendors on host#11091
Merged
gustavlrsn merged 1 commit intomainfrom Mar 24, 2025
Merged
Fix(Expense flow): Show vendors option if there are vendors on host#11091gustavlrsn merged 1 commit intomainfrom
gustavlrsn merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Member
|
@gustavlrsn : Since Henrique is on vacation can someone else review this one so that we can get this bug fixed 😉 cc: @Betree |
Member
|
@gustavlrsn : Thanks a lot for taking care of this one 🥇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix issue reported on Slack: https://oficonsortium.slack.com/archives/C06K5J91675/p1741877291192939?thread_ts=1740181512.687459&cid=C06K5J91675
Description
We were only displaying the option if there were vendors previously associated with the payer account.
This PR adds a fix to always show the Vendors option if there are vendors on the host (and the API returns them according to policy and if you are an admin).