pull/10616/head
Alex P 2017-09-20 13:08:06 -07:00
parent dfa59aadf6
commit 0e2723f020
3 changed files with 1 additions and 17 deletions

View File

@ -139,8 +139,6 @@ class LayoutRenderer extends Component {
cells,
onEditCell,
onCancelEditCell,
onRenameCell,
onUpdateCell,
onDeleteCell,
onSummonOverlayTechnologies,
timeRange,
@ -160,8 +158,6 @@ class LayoutRenderer extends Component {
onCancelEditCell={onCancelEditCell}
isEditable={isEditable}
onEditCell={onEditCell}
onRenameCell={onRenameCell}
onUpdateCell={onUpdateCell}
onDeleteCell={onDeleteCell}
onSummonOverlayTechnologies={onSummonOverlayTechnologies}
cell={cell}

View File

@ -46,7 +46,7 @@ class NameableGraph extends Component {
}
render() {
const {cell, children, isEditable, onEditCell} = this.props
const {cell, children, isEditable} = this.props
const {cellName, isDeleting} = this.state
const queries = _.get(cell, ['queries'], [])
@ -58,7 +58,6 @@ class NameableGraph extends Component {
cell={cell}
onDeleteClick={this.handleDeleteClick}
onDelete={this.handleDeleteCell}
onRename={!cell.isEditing && isEditable ? onEditCell : () => {}}
isDeleting={isDeleting}
isEditable={isEditable}
handleClickOutside={this.closeMenu}
@ -110,8 +109,6 @@ NameableGraph.propTypes = {
queries: array,
}).isRequired,
children: node.isRequired,
onEditCell: func,
onRenameCell: func,
onDeleteCell: func,
onSummonOverlayTechnologies: func,
isEditable: bool,

View File

@ -132,7 +132,6 @@ $dash-graph-options-arrow: 8px;
background-color: $g5-pepper;
}
}
.dash-graph--name-edit,
.dash-graph--name {
font-size: 13px;
font-weight: 600;
@ -155,14 +154,6 @@ $dash-graph-options-arrow: 8px;
.dash-graph-context__deleting + .dash-graph--heading .dash-graph--name {
width: calc(100% - 87px);
}
input.form-control.dash-graph--name-edit {
margin-left: 8px;
padding: 0 6px;
width: calc(100% - 42px);
height: 26px !important;
line-height: (26px - 4px) !important;
position: relative;
top: -1px; // Fix for slight offset
.dash-graph--name.dash-graph--name__default {
font-style: italic;
}