You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the Admin UI, when creating a fulfillment, not all the possible ErrorResult types are being handled in the UI code. For example, CreateFulfillmentError is silently ignored.
Describe the bug
In the Admin UI, when creating a fulfillment, not all the possible ErrorResult types are being handled in the UI code. For example,
CreateFulfillmentError
is silently ignored.The code in question is here:
vendure/packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.ts
Lines 335 to 344 in fce00c4
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Display error notification for all error types. We should add an
assertNever
clause as an exhaustiveness check here.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: