diff options
author | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-17 13:43:40 -0400 |
---|---|---|
committer | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-17 13:43:40 -0400 |
commit | 64635a0a0e07a107c4019e366feb2fe5b01c8b04 (patch) | |
tree | ce6f53c2cd106485a680b17edecf355eed6654f0 /src/client/views/StyleProvider.tsx | |
parent | 597ad3716286e9eff29316605514218889690da5 (diff) |
ready to pull
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index cda39b474..54698ab2d 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -367,13 +367,12 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps & </Tooltip> ); }; - const tags = () => props?.DocumentView?.() && CollectionFreeFormDocumentView.from(props.DocumentView()) ? <TagsView View={props.DocumentView()}/> : null; + const tags = () => props?.DocumentView?.() ? <TagsView Views={[props.DocumentView()]}/> : null; const iconTags = () => { if (doc && doc![DocData].showIconTags) {return (<IconTagBox doc= {doc}></IconTagBox>)} } - return ( <> {paint()} |