mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
OptionsUI: Enabled settings on the color picker (#64483)
This commit is contained in:
@@ -58,10 +58,10 @@ export const AnnotationSettingsEdit = ({ editIdx, dashboard }: Props) => {
|
||||
});
|
||||
};
|
||||
|
||||
const onColorChange = (color: string) => {
|
||||
const onColorChange = (color?: string) => {
|
||||
onUpdate({
|
||||
...annotation,
|
||||
iconColor: color,
|
||||
iconColor: color!,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user