Skip to content

Commit

Permalink
Fix bug introduced in PR#134 that prevented the uploadCSV button from…
Browse files Browse the repository at this point in the history
… ever getting enabled. That bug was caused because it did not insert the "empty dropdown value" to the dropdown list, which resulted in preventing the event `dropdownSelectionChanged` from being called when a single item was in the dropdown list. This would prevent disbursements instructions from being added.
  • Loading branch information
marcelosalloum committed Aug 26, 2024
1 parent d20d8fd commit 5b50617
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DisbursementDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ export const DisbursementDetails: React.FC<DisbursementDetailsProps> = ({
value={details.asset.id}
disabled={isWalletAssetsFetching || !details.wallet.id}
>
{renderDropdownDefault(isWalletAssetsFetching)}
{walletAssets
?.filter((wa: ApiAsset) => {
// Check for the default native asset
Expand Down

0 comments on commit 5b50617

Please sign in to comment.