diff options
author | bobzel <zzzman@gmail.com> | 2022-06-14 13:00:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-14 13:00:27 -0400 |
commit | da6283875ec7f59af602e14ed19fcab93533f377 (patch) | |
tree | 570e95405a8f8bd06a44c2130acf6f866d700cec /src/client/views/nodes/button/FontIconBox.tsx | |
parent | 263f1c04f7177bad20800f7ae13e04fbd5a20b30 (diff) |
made shared with me doc count decrement when a document is viewed (double-clicked, dragged out)
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.tsx')
-rw-r--r-- | src/client/views/nodes/button/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index a1b9023f3..97e6eddfe 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -521,7 +521,7 @@ export class FontIconBox extends DocComponent<ButtonProps>() { <div className={`menuButton ${this.type}`} style={{ color, backgroundColor }}> {this.icon === "pres-trail" ? trailsIcon : <FontAwesomeIcon className={`fontIconBox-icon-${this.type}`} icon={this.icon} color={color} />} {menuLabel} - <FontIconBadge collection={Cast(this.rootDoc.watchedDocuments, Doc, null)} /> + <FontIconBadge value={ScriptCast(this.Document.badgeValue,null)?.script.run({self:this.Document}).result} /> </div > ); break; |