diff options
author | bobzel <zzzman@gmail.com> | 2023-08-27 14:28:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-27 14:28:57 -0400 |
commit | efc6e14ea9019ee16813f69aa195119638921523 (patch) | |
tree | 3715475e757f683dfd4a1281beaaec4590f2f390 /src | |
parent | fc6fcb0b644e89286d78cf44017e01f039c3d438 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index c8564e5bb..09aac03ea 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1603,7 +1603,7 @@ export namespace Doc { case DocumentType.COMPARISON: return 'columns'; case DocumentType.RTF: return 'sticky-note'; case DocumentType.COL: - const folder: IconProp = isOpen === true ? 'folder-open' : isOpen === false ? 'folder' : doc!.title=='Untitled Collection'? 'object-group': 'chalkboard'; + const folder: IconProp = isOpen === true ? 'folder-open' : isOpen === false ? 'folder' : doc?.title==='Untitled Collection'? 'object-group': 'chalkboard'; const chevron: IconProp = isOpen === true ? 'chevron-down' : isOpen === false ? 'chevron-right' : 'question'; return !doc?.isFolder ? folder : chevron; case DocumentType.WEB: return 'globe-asia'; |