@mercurjs/dashboard-shared 2.2.0-canary.13 → 2.2.0-canary.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9762,7 +9762,7 @@ var formatFieldValue = (value, field) => {
|
|
|
9762
9762
|
if (typeof value === "boolean") return value ? "True" : "False";
|
|
9763
9763
|
if (typeof value === "string") return value;
|
|
9764
9764
|
if (typeof value === "number") return String(value);
|
|
9765
|
-
if (field === "attribute_values") {
|
|
9765
|
+
if (field === "attribute_values" || field === "options") {
|
|
9766
9766
|
const pretty = formatAttributeValues(value);
|
|
9767
9767
|
if (pretty) return pretty;
|
|
9768
9768
|
}
|