mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ValueMappings: Value mappings field config defaults should not apply to time field (#41132)
This commit is contained in:
parent
2c209e735c
commit
fb5a65d9be
@ -171,7 +171,7 @@ export const getStandardFieldConfigs = () => {
|
|||||||
process: valueMappingsOverrideProcessor,
|
process: valueMappingsOverrideProcessor,
|
||||||
settings: {},
|
settings: {},
|
||||||
defaultValue: [],
|
defaultValue: [],
|
||||||
shouldApply: () => true,
|
shouldApply: (x) => x.type !== FieldType.time,
|
||||||
category: ['Value mappings'],
|
category: ['Value mappings'],
|
||||||
getItemsCount: (value?) => (value ? value.length : 0),
|
getItemsCount: (value?) => (value ? value.length : 0),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user