aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreeng5 <eleanor_eng@brown.edu>2019-09-24 18:19:40 -0400
committereeng5 <eleanor_eng@brown.edu>2019-09-24 18:19:40 -0400
commit7e4dc0b2b2c604c60ffdfbaeb3eda95fa8221a06 (patch)
tree11269a5ea8f69a2342fb6422b2f3dd3d77bc139a /src
parent2e6c8efbcea67d345023db679de15f294a792dc5 (diff)
delete enabled
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionStackingViewFieldColumn.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
index aacf8ad4b..b04e1fc73 100644
--- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
+++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx
@@ -253,10 +253,11 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC
}
renderMenu = () => {
+ let selected = this.props.headingObject ? this.props.headingObject.color : "#f1efeb";
return (
<div className="collectionStackingView-optionPicker">
<div className="optionOptions">
- <div className="optionPicker">Delete</div>
+ <div className="optionPicker" onClick={() => this.deleteColumn()}>Delete</div>
<div className="optionPicker">Edit</div>
<div className="optionPicker">Collapse</div>
<div className="optionPicker">Alias</div>