diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-17 13:03:10 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-17 13:03:10 -0400 |
| commit | 9cd476b6cc7a3d72c6b2b96630506b04a5c6fb22 (patch) | |
| tree | 53c441a09e0206a363a25b47fbc02b515b0244c0 /src/client/views/nodes/IconBox.tsx | |
| parent | 9c50386d00f19ee4eb6dc7407dfb2fe9ce423c88 (diff) | |
minor icon tweaks.
Diffstat (limited to 'src/client/views/nodes/IconBox.tsx')
| -rw-r--r-- | src/client/views/nodes/IconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/IconBox.tsx b/src/client/views/nodes/IconBox.tsx index ef9885bcf..92cb5a9c9 100644 --- a/src/client/views/nodes/IconBox.tsx +++ b/src/client/views/nodes/IconBox.tsx @@ -38,7 +38,7 @@ export class IconBox extends React.Component<FieldViewProps> { } public static titleScript(inputDoc: Doc) { const maxDoc = DocListCast(inputDoc.maximizedDocs); - if (maxDoc.length === 1 && StrCast(maxDoc[0].title).startsWith("-")) { + if (maxDoc.length === 1) { return maxDoc[0].title + ".icon"; } return maxDoc.length > 1 ? "-multiple-.icon" : "???"; |
