Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NT-1493] Hide Shipping in Manage View Based on Base Reward #1281

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

justinswart
Copy link
Contributor

📲 What

Hides the shipping line item displayed on the Manage Pledge View based on the base reward's shipping preference.

🤔 Why

When editing a reward from one that has shipping to one without the back-end erroneously sends back shipping information for the backing which we were displaying at the client. This is a workaround to prevent that from happening.

🛠 How

We are now inspecting whether shipping is enabled for the backing's base reward before displaying the shipping line item.

👀 See

Before 🐛 After 🦋
image image

✅ Acceptance criteria

  • Back a reward with shipping enabled, observe the shipping amount is displayed in the manage view.
  • Edit the reward and change to a reward without shipping. There should be no shipping amount shown on the manage view.

@justinswart justinswart merged commit cc32a01 into master Sep 4, 2020
@justinswart justinswart deleted the NT-1493-hide-shipping branch September 4, 2020 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants