@grafana/plugin-ui 0.14.1-dsconfig.bccd84e → 0.14.1-dsconfig.f7c437a

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.
@@ -12149,7 +12149,9 @@ function fieldComment(field, indent) {
12149
12149
  const vals = options.map((o) => String(o.value)).join(", ");
12150
12150
  parts.push(`${indent}# Allowed values: ${vals}`);
12151
12151
  }
12152
- const allowedValuesRule = (_c = field.validations) == null ? void 0 : _c.find((v) => v.type === "allowedValues");
12152
+ const allowedValuesRule = (_c = field.validations) == null ? void 0 : _c.find(
12153
+ (v) => v.type === "allowedValues"
12154
+ );
12153
12155
  if (allowedValuesRule && !options) {
12154
12156
  const vals = allowedValuesRule.values.map((v) => String(v)).join(", ");
12155
12157
  parts.push(`${indent}# Allowed values: ${vals}`);