mirror of https://github.com/apache/superset.git
[bugfix] issue creating separators & markup slices (#3041)
This commit is contained in:
parent
8dfe2b70b2
commit
a55f963e52
|
@ -871,7 +871,7 @@ export const controls = {
|
|||
label: 'Code',
|
||||
description: 'Put your code here',
|
||||
mapStateToProps: state => ({
|
||||
language: state.controls ? state.controls.markup_type.value : null,
|
||||
language: state.controls && state.controls.markup_type ? state.controls.markup_type.value : 'markdown',
|
||||
}),
|
||||
default: '',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue