aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-08-23 18:37:07 -0400
committermonikahedman <monika_hedman@brown.edu>2019-08-23 18:37:07 -0400
commit6c1baab02196e78c334db88b15dfcbd9369966f4 (patch)
tree8d6865cea7c43c33347b79a53de55a272ae64be8 /src/client/views/DocumentDecorations.tsx
parentc752994552be6d8a7e91093bf9d64896fd51138f (diff)
parentdee6904f0fd4d54862bfd1c86611be294517951c (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into monika_linking
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 4ba8d3b2f..0282e42de 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -1,7 +1,7 @@
import { library, IconProp } from '@fortawesome/fontawesome-svg-core';
import { faLink, faTag, faTimes, faArrowAltCircleDown, faArrowAltCircleUp, faCheckCircle, faStopCircle, faCloudUploadAlt, faSyncAlt, faShare } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { action, computed, observable, reaction, runInAction } from "mobx";
+import { action, computed, observable, reaction, runInAction, trace } from "mobx";
import { observer } from "mobx-react";
import { Doc } from "../../new_fields/Doc";
import { List } from "../../new_fields/List";
@@ -695,7 +695,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
if (!canPush) return (null);
let published = Doc.GetProto(this.targetDoc)[GoogleRef] !== undefined;
if (!published) {
- this.targetDoc.autoHeight = true;
+ // this.targetDoc.autoHeight = true;
}
let icon: IconProp = published ? (this.pushIcon as any) : cloud;
return (