fix(core-flows, dashboard): handling fulfillment rules (#11111)
**What** - fix storing "true" | "false" strings from admin - use strings instead of booleans for context filtering
This commit is contained in:
+2
-2
@@ -151,13 +151,13 @@ export function CreateShippingOptionsForm({
|
||||
rules: [
|
||||
{
|
||||
// eslint-disable-next-line
|
||||
value: isReturn ? '"true"' : '"false"',
|
||||
value: isReturn ? "true" : "false",
|
||||
attribute: "is_return",
|
||||
operator: "eq",
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line
|
||||
value: data.enabled_in_store ? '"true"' : '"false"',
|
||||
value: data.enabled_in_store ? "true" : "false",
|
||||
attribute: "enabled_in_store",
|
||||
operator: "eq",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user