mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[bugfix] issue creating separators & markup slices (#3041)
This commit is contained in:
committed by
GitHub
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: '',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user