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