aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/IconBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-30 15:58:57 -0400
committerbob <bcz@cs.brown.edu>2019-04-30 15:58:57 -0400
commitc95e1789da41fb63e27f1086e30c0ebd151009df (patch)
tree2dc0b21a0da4e25b899ab46a8ca512131cb23ccb /src/client/views/nodes/IconBox.tsx
parent7261d69c9e9dcdbcc413eff062eb01de2032f9ef (diff)
fixed icons
Diffstat (limited to 'src/client/views/nodes/IconBox.tsx')
-rw-r--r--src/client/views/nodes/IconBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/IconBox.tsx b/src/client/views/nodes/IconBox.tsx
index f7cceb3d4..7a0c49735 100644
--- a/src/client/views/nodes/IconBox.tsx
+++ b/src/client/views/nodes/IconBox.tsx
@@ -23,7 +23,7 @@ export class IconBox extends React.Component<FieldViewProps> {
public static LayoutString() { return FieldView.LayoutString(IconBox); }
@computed get maximized() { return Cast(this.props.Document.maximizedDoc, Doc); }
- @computed get layout(): string { const field = Cast(this.props.Document[this.props.fieldKey], IconField); return field ? field.layout : "<p>Error loading layout data</p>"; }
+ @computed get layout(): string { const field = Cast(this.props.Document[this.props.fieldKey], IconField); return field ? field.icon : "<p>Error loading icon data</p>"; }
@computed get minimizedIcon() { return IconBox.DocumentIcon(this.layout); }
public static DocumentIcon(layout: string) {