fix(draft-order, medusa, types): ui polish (#13376)
**What** - ensure unique promotion changes are displayed in the activity section - check linked promotions by id and not code - list promotions - add id param - make address payload fields nullish - Add items view UI tweaks --- CLOSES SUP-2400
This commit is contained in:
@@ -5,10 +5,10 @@ export const addressSchema = z.object({
|
||||
first_name: z.string().min(1),
|
||||
last_name: z.string().min(1),
|
||||
address_1: z.string().min(1),
|
||||
address_2: z.string().optional(),
|
||||
company: z.string().optional(),
|
||||
address_2: z.string().nullish(),
|
||||
company: z.string().nullish(),
|
||||
city: z.string().min(1),
|
||||
province: z.string().optional(),
|
||||
province: z.string().nullish(),
|
||||
postal_code: z.string().min(1),
|
||||
phone: z.string().optional(),
|
||||
phone: z.string().nullish(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user