PanelEditor: Fixes issue where panel edit would show the panel plugin options of the previous edit panel (#59861)

* PanelEditor: Fixes issues with panel edit state cleanup

* Removed console log

* Fixed test
This commit is contained in:
Torkel Ödegaard
2022-12-11 09:57:49 +01:00
committed by GitHub
parent 5d6bdc60b1
commit 50c4430661
4 changed files with 8 additions and 10 deletions

View File

@@ -471,7 +471,7 @@ export function getBasicAndGradientStyles(props: Props): BasicAndGradientStyles
};
const emptyBar: CSSProperties = {
background: `rgba(${theme.isDark ? '255,255,255' : '0,0,0'}, 0.07)`,
background: theme.colors.background.secondary,
flexGrow: 1,
display: 'flex',
borderRadius: '3px',