|
|
@@ -21,12 +21,12 @@ class ViewLayoutItem extends React.Component {
|
|
|
const { dispatch, main, dashboardDesigner, item, isPreview, reload } = this.props;
|
|
|
const { editing, title } = this.state;
|
|
|
const { currentUser } = main;
|
|
|
- const { dashboardDesignerCode, editMode, minLayoutHeight, theme: themeName } = dashboardDesigner;
|
|
|
+ const { dashboardDesignerCode, editMode, minLayoutHeight } = dashboardDesigner;
|
|
|
const { code, name, viewType, layout, chartCode, chartOption } = item;
|
|
|
const iconCls = editMode ? 'visible-icon' : '';
|
|
|
|
|
|
return (
|
|
|
- <div className={`chartview${ isPreview ? ' chartview-preview' : (editMode ? ' chartview-edit' : '')} ${themeName}`} style={{ height: '100%' }}>
|
|
|
+ <div className={`chartview${ isPreview ? ' chartview-preview' : (editMode ? ' chartview-edit' : '')}`} style={{ height: '100%' }}>
|
|
|
<div className='chartview-toolbar mover'>
|
|
|
<div className='chart-title'>
|
|
|
{editing ? <Input width={200} ref={node => this['inputRef-' + code] = node} defaultValue={name}
|