aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesButtons.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-24 12:51:20 -0400
committerbobzel <zzzman@gmail.com>2020-08-24 12:51:20 -0400
commit502457143a151bb6bd504b313160a462c9b00aa3 (patch)
tree65c98d304da252def0fdb3572ee25daa4d732d91 /src/client/views/PropertiesButtons.tsx
parent9f9390859fd974135de4fd2ff1fecd9f51d569dc (diff)
fixed use clusters icon in propertiesButtons
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r--src/client/views/PropertiesButtons.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index 4abb2cb7a..cdc894678 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -610,9 +610,9 @@ export class PropertiesButtons extends React.Component<{}, {}> {
get clustersButton() {
const targetDoc = this.selectedDoc;
return !targetDoc ? (null) : <Tooltip
- title={<><div className="dash-tooltip">{this.selectedDoc?.useClusters ? "Stop Showing Clusters" : "Show Clusters"}</div></>} placement="top">
+ title={<><div className="dash-tooltip">{this.selectedDoc?._useClusters ? "Stop Showing Clusters" : "Show Clusters"}</div></>} placement="top">
<div>
- <div className={`propertiesButtons-linkButton-empty toggle-${targetDoc.userClusters ? "on" : "off"}`} onPointerDown={this.changeClusters}>
+ <div className={`propertiesButtons-linkButton-empty toggle-${targetDoc._useClusters ? "on" : "off"}`} onPointerDown={this.changeClusters}>
<FontAwesomeIcon className="documentdecorations-icon" icon="braille" size="lg" />
</div>
<div className="propertiesButtons-title" > clusters </div>
@@ -627,7 +627,7 @@ export class PropertiesButtons extends React.Component<{}, {}> {
@action @undoBatch
changeClusters = () => {
- this.selectedDoc && (this.selectedDoc.useClusters = !this.selectedDoc.useClusters);
+ this.selectedDoc && (this.selectedDoc._useClusters = !this.selectedDoc._useClusters);
}
@computed