fix(dashboard): create SO modal (#8167)

This commit is contained in:
Frane Polić authored and GitHub committed 2024-07-17 13:16:13 +01:00
1 parent d7e79cfa94
commit e5c66fa670
1 file changed
+1 -1
@@ -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