From 096ba25ba9e92cdb1ae3f949882bf1667e00af9e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sun, 24 Nov 2019 15:23:46 +0100 Subject: [PATCH] More minor changes Signed-off-by: Julius Volz --- web/ui/react-app/src/pages/PanelList.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/ui/react-app/src/pages/PanelList.tsx b/web/ui/react-app/src/pages/PanelList.tsx index 4ee15ecc96..9781fa030b 100644 --- a/web/ui/react-app/src/pages/PanelList.tsx +++ b/web/ui/react-app/src/pages/PanelList.tsx @@ -20,6 +20,12 @@ interface PanelListState { timeDriftError: string | null; } +const initialPanel = { + id: generateID(), + key: '0', + options: PanelDefaultOptions, +}; + class PanelList extends Component { constructor(props: PathPrefixProps) { super(props); @@ -27,7 +33,7 @@ class PanelList extends Component