Limit render of Done Editing button to cell types that support annotations
parent
5863a5e764
commit
f3cdfa923d
|
@ -96,7 +96,8 @@ class LayoutCellMenu extends Component {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{mode === 'editing' && (
|
{mode === 'editing' &&
|
||||||
|
cellSupportsAnnotations(cell.type) && (
|
||||||
<div className="dash-graph-context--buttons">
|
<div className="dash-graph-context--buttons">
|
||||||
<div
|
<div
|
||||||
className="btn btn-xs btn-success"
|
className="btn btn-xs btn-success"
|
||||||
|
|
Loading…
Reference in New Issue