aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2019-07-11 18:45:57 -0400
committerGitHub <noreply@github.com>2019-07-11 18:45:57 -0400
commitaa17690d3c484e08b35cc6356c73f00eaa5e0df5 (patch)
tree6039850b3ff1f463d8ac97ab0fe5a71deb2d6e82 /src/client/views/DocumentDecorations.tsx
parentaeb0521e8ad8f1efc8c3a39af9eb5443c5368453 (diff)
parent5eb76c1a2da4e7c8371cb62c39ca84d2f79804d3 (diff)
Merge pull request #198 from browngraphicslab/layout_refactor
Layout refactor
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 95335020f..c24d66ee4 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -286,7 +286,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
@undoBatch
@action createIcon = (selected: DocumentView[], layoutString: string): Doc => {
let doc = selected[0].props.Document;
- let iconDoc = Docs.IconDocument(layoutString);
+ let iconDoc = Docs.Create.IconDocument(layoutString);
iconDoc.isButton = true;
iconDoc.proto!.title = selected.length > 1 ? "-multiple-.icon" : StrCast(doc.title) + ".icon";
iconDoc.labelField = selected.length > 1 ? undefined : this._fieldKey;