StatPanel: Fix stat panel display name not showing when explicitly set (#26616)

* StatPanel: Fix stat panel display name now showing when explicitly set

* StatPanel: Updarted auto mode to also take panel title into consideration

* fixed test
This commit is contained in:
Torkel Ödegaard
2020-07-28 07:28:50 +02:00
committed by GitHub
parent cfac143244
commit cbe1d7b08c
4 changed files with 18 additions and 1 deletions
+2
View File
@@ -69,6 +69,8 @@ export interface PanelProps<T = any> {
onChangeTimeRange: (timeRange: AbsoluteTimeRange) => void;
/** @internal */
renderCounter: number;
/** Panel title */
title: string;
}
export interface PanelEditorProps<T = any> {