mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Grafana/schema: Fix plugins API regression. Add back "hidden" in LegendDisplayMode (#53925)
This commit is contained in:
parent
edb54fc8d3
commit
88419aa8fe
@ -133,7 +133,8 @@ GraphThresholdsStyleConfig: {
|
||||
LegendPlacement: "bottom" | "right" @cuetsy(kind="type")
|
||||
|
||||
// TODO docs
|
||||
LegendDisplayMode: "list" | "table" @cuetsy(kind="enum")
|
||||
// Note: "hidden" needs to remain as an option for plugins compatibility
|
||||
LegendDisplayMode: "list" | "table" | "hidden" @cuetsy(kind="enum")
|
||||
|
||||
// TODO docs
|
||||
TableSortByFieldState: {
|
||||
|
@ -168,6 +168,7 @@ export interface GraphThresholdsStyleConfig {
|
||||
export type LegendPlacement = ('bottom' | 'right');
|
||||
|
||||
export enum LegendDisplayMode {
|
||||
Hidden = 'hidden',
|
||||
List = 'list',
|
||||
Table = 'table',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user