fix(dashboard): create SO modal (#8167)
This commit is contained in:
@@ -21,7 +21,7 @@ export function LocationServiceZoneShippingOptionCreate() {
|
||||
?.find((f) => f.id === fset_id)
|
||||
?.service_zones?.find((z) => z.id === zone_id)
|
||||
|
||||
if (!zone) {
|
||||
if (!isPending && !zone) {
|
||||
throw json(
|
||||
{ message: `Service zone with ID ${zone_id} was not found` },
|
||||
404
|
||||
|
||||
Reference in New Issue
Block a user