diff options
author | bobzel <zzzman@gmail.com> | 2024-04-01 14:19:03 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-04-01 14:19:03 -0400 |
commit | 6227ac6f13ba112fc6edac340940f4543d2ac82f (patch) | |
tree | 5425adb28b6459773469fcd3efd1e0fbff4fdcb0 | |
parent | 0a02dfa252f4eee451ba4ea74f82b90be489687e (diff) |
restored pivot view for metadata not just tags.
-rw-r--r-- | src/client/views/nodes/formattedText/DashFieldView.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/client/views/nodes/formattedText/DashFieldView.tsx b/src/client/views/nodes/formattedText/DashFieldView.tsx index 763939a68..439d4785e 100644 --- a/src/client/views/nodes/formattedText/DashFieldView.tsx +++ b/src/client/views/nodes/formattedText/DashFieldView.tsx @@ -332,13 +332,11 @@ export class DashFieldViewMenu extends AntimodeMenu<AntimodeMenuProps> { render() { return this.getElement( <> - {!this._fieldKey.startsWith('#') ? null : ( - <Tooltip key="trash" title={<div className="dash-tooltip">{`Show Pivot Viewer for '${this._fieldKey}'`}</div>}> - <button className="antimodeMenu-button" onPointerDown={this.showFields}> - <FontAwesomeIcon icon="eye" size="sm" /> - </button> - </Tooltip> - )} + <Tooltip key="trash" title={<div className="dash-tooltip">{`Show Pivot Viewer for '${this._fieldKey}'`}</div>}> + <button className="antimodeMenu-button" onPointerDown={this.showFields}> + <FontAwesomeIcon icon="eye" size="sm" /> + </button> + </Tooltip> {this._fieldKey.startsWith('#') ? null : ( <Tooltip key="key" title={<div className="dash-tooltip">Toggle view of field key</div>}> <button className="antimodeMenu-button" onPointerDown={this.toggleFieldHide}> |