mirror of
https://github.com/grafana/grafana.git
synced 2026-08-26 13:27:30 -05:00
AnnotationList: Fix link for annotation with no panel or dashboard (#87048)
* Handle case for no associated panel or dashboard * Convert to CSS object * Add tests and extend type to cover null use case
This commit is contained in:
+1
-2
@@ -5474,8 +5474,7 @@ exports[`better eslint`] = {
|
||||
[0, 0, 0, "Styles should be written using objects.", "6"]
|
||||
],
|
||||
"public/app/plugins/panel/annolist/AnnoListPanel.tsx:5381": [
|
||||
[0, 0, 0, "Do not use any type assertions.", "0"],
|
||||
[0, 0, 0, "Styles should be written using objects.", "1"]
|
||||
[0, 0, 0, "Do not use any type assertions.", "0"]
|
||||
],
|
||||
"public/app/plugins/panel/barchart/BarChartPanel.tsx:5381": [
|
||||
[0, 0, 0, "Do not use any type assertions.", "0"],
|
||||
|
||||
Reference in New Issue
Block a user