diff options
author | bobzel <zzzman@gmail.com> | 2024-09-19 20:29:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-19 20:29:30 -0400 |
commit | cf7216aec2fd61bc7de43240586532b5d54e7d8b (patch) | |
tree | 1e46104bcca5cd80ecae299e7afae65c96def0ba /src | |
parent | 302b9ab98001a50ca2117df823216a99b7c25869 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/IconTagBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/IconTagBox.tsx b/src/client/views/nodes/IconTagBox.tsx index 01dca0fbb..292f9b523 100644 --- a/src/client/views/nodes/IconTagBox.tsx +++ b/src/client/views/nodes/IconTagBox.tsx @@ -70,7 +70,7 @@ export class IconTagBox extends ObservableReactComponent<IconTagProps> { render() { const buttons = Doc.MyFilterHotKeys .map(key => ({ key, tag: StrCast(key.toolType) })) - .filter(({ tag }) => this._props.IsEditing || this.View.Document[tag] || (DocumentView.Selected.length === 1 && this.View.IsSelected)) + .filter(({ tag }) => this._props.IsEditing || TagItem.docHasTag(this.View.Document, tag) || (DocumentView.Selected.length === 1 && this.View.IsSelected)) .map(({ key, tag }) => ( <Tooltip key={tag} title={<div className="dash-tooltip">Click to add/remove this card from the {tag} group</div>}> <button |