grafana/public/app/features/variables/editor
Marcus Andersson ac7af7d4c3
TemplateVariables: make sure we handle multi/single value with correct data type (#23208)
* Fixed issue with multi value.

* Made some refactorings after feedback from Torkel and Hugo.

* minor refactorings.

* changed so we don't make the current value to array if multi is false.

* added snapshot to contain v23.

* Fixed so we always use the correct type when setting value for multi/non-multi.

* added some more tests.

* added tests.

* some small adjustments after feedback
2020-04-01 18:13:38 +02:00
..
actions.ts Variables: removes cloneDeep from getVariables selector (#23196) 2020-03-30 17:03:34 +02:00
reducer.test.ts Variables: replaces UUID with name for a more performant lookup in TemplateSrv (#22858) 2020-03-23 13:45:08 +01:00
reducer.ts Variables: replaces UUID with name for a more performant lookup in TemplateSrv (#22858) 2020-03-23 13:45:08 +01:00
SelectionOptionsEditor.tsx TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
types.ts Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
VariableEditorContainer.tsx Variables: removes cloneDeep from getVariables selector (#23196) 2020-03-30 17:03:34 +02:00
VariableEditorEditor.tsx Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
VariableEditorList.tsx Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
VariableValuesPreview.tsx Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00