aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesView.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-10-16 17:08:24 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-10-16 17:08:24 -0400
commit8a0ae4e42d217a222d6a127ec640d5f1113832a0 (patch)
tree889a3d75f647297fca4ffcff3e394ed1005b5bc2 /src/client/views/PropertiesView.tsx
parent675597c0716171879b527710da3bbedf928d7172 (diff)
text box
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r--src/client/views/PropertiesView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index cb45ece42..984906ed0 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -1266,7 +1266,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
Doc.GetProto(LinkManager.currentLink).link_description = value;
if (LinkManager.currentLink.show_description === undefined) {
- LinkManager.currentLink['show_description'] = !LinkManager.currentLink['show_description'];
+ LinkManager.currentLink.show_description = !LinkManager.currentLink.show_description;
}
}
});