diff options
author | bobzel <zzzman@gmail.com> | 2021-08-03 11:41:48 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-03 11:41:48 -0400 |
commit | 2abbe23a9c6054e4ff5314333bba25b88554d1ec (patch) | |
tree | 87635e0cf3f3dcbd8a0eefb212504166ecc334fc /src | |
parent | 4241043265da64f4d4ecd622ad893638bd0d9435 (diff) |
fixed links being blown away in sidebars.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/SidebarAnnos.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx index 010418be5..7b11723c3 100644 --- a/src/client/views/SidebarAnnos.tsx +++ b/src/client/views/SidebarAnnos.tsx @@ -33,7 +33,7 @@ interface ExtraProps { export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> { constructor(props: Readonly<FieldViewProps & ExtraProps>) { super(props); - this.props.dataDoc[this.sidebarKey] = new List<Doc>(); + // this.props.dataDoc[this.sidebarKey] = new List<Doc>(); // bcz: can't do this here. it blows away existing things and isn't a robust solution for making sure the field exists -- instead this should happen when the document is created and/or shared } _stackRef = React.createRef<CollectionStackingView>(); @computed get allHashtags() { |