Skip to content

Storage Purchase, avoid server call when invalid quantity

Angelo Gulina requested to merge ag/366430-avoid-call-when-invalid-quantity into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR follows up on the first iteration and improves the error handling for Storage purchases, avoiding sending a preview request when the quantity is invalid.

Additionally, internal state handling of the component is moved from computed getter/setter to watch to ensure consistency.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2022-12-05_at_16.43.19

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Angelo Gulina

Merge request reports