aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionViewChromes.tsx
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-02-09 17:11:24 -0500
committervellichora <fangrui_tong@brown.edu>2020-02-09 17:11:24 -0500
commite8fcbbf57b2a2f443d9c280ce10558cf9d51c632 (patch)
tree6086e3bb7628734c7c6076e900dae3cbaeb5bc61 /src/client/views/collections/CollectionViewChromes.tsx
parent28efd6f2b5b79d1f25fa66e5d9f69d77a7594fee (diff)
can upload collection from mobile to desktop
Diffstat (limited to 'src/client/views/collections/CollectionViewChromes.tsx')
-rw-r--r--src/client/views/collections/CollectionViewChromes.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionViewChromes.tsx b/src/client/views/collections/CollectionViewChromes.tsx
index a870b6043..01dc21f95 100644
--- a/src/client/views/collections/CollectionViewChromes.tsx
+++ b/src/client/views/collections/CollectionViewChromes.tsx
@@ -231,6 +231,7 @@ export class CollectionViewBaseChrome extends React.Component<CollectionViewChro
@action
toggleCollapse = () => {
+ console.log("toggle collapse");
this.props.CollectionView.props.Document.chromeStatus = this.props.CollectionView.props.Document.chromeStatus === "enabled" ? "collapsed" : "enabled";
if (this.props.collapse) {
this.props.collapse(this.props.CollectionView.props.Document.chromeStatus !== "enabled");