ValueMappings: Value mappings field config defaults should not apply to time field (#41132)

pull/41248/head^2
Torkel Ödegaard 4 years ago committed by GitHub
parent 2c209e735c
commit fb5a65d9be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-ui/src/utils/standardEditors.tsx

@ -171,7 +171,7 @@ export const getStandardFieldConfigs = () => {
process: valueMappingsOverrideProcessor,
settings: {},
defaultValue: [],
shouldApply: () => true,
shouldApply: (x) => x.type !== FieldType.time,
category: ['Value mappings'],
getItemsCount: (value?) => (value ? value.length : 0),
};

Loading…
Cancel
Save