diff options
author | bobzel <zzzman@gmail.com> | 2024-04-30 01:10:20 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-04-30 01:10:20 -0400 |
commit | 6de58d7ecbfd14beb7389c6ff56e764b5c00ba25 (patch) | |
tree | 57b396b30644ac2fa3ec48fe38bc3efb419ce88d /src/client/views/nodes/KeyValuePair.tsx | |
parent | e17737982ea2ce84b4bded798ee7bdf730a75715 (diff) |
changed acl- and some other field- to acl_ and field_ style
Diffstat (limited to 'src/client/views/nodes/KeyValuePair.tsx')
-rw-r--r-- | src/client/views/nodes/KeyValuePair.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/KeyValuePair.tsx b/src/client/views/nodes/KeyValuePair.tsx index f96dd2b76..a9aa017a1 100644 --- a/src/client/views/nodes/KeyValuePair.tsx +++ b/src/client/views/nodes/KeyValuePair.tsx @@ -101,7 +101,7 @@ export class KeyValuePair extends ObservableReactComponent<KeyValuePairProps> { </button> <input className="keyValuePair-td-key-check" type="checkbox" style={hover} onChange={this.handleCheck} ref={this.checkbox} /> <Tooltip title={Object.entries(new DocumentOptions()).find((pair: [string, FInfo]) => pair[0].replace(/^_/, '') === this._props.keyName)?.[1].description ?? ''}> - <div className="keyValuePair-keyField" style={{ marginLeft: 20 * (this._props.keyName.match(/_/g)?.length || 0), color: keyStyle }}> + <div className="keyValuePair-keyField" style={{ marginLeft: 20 * (this._props.keyName.replace(/__/g, '').match(/_/g)?.length || 0), color: keyStyle }}> {'('.repeat(parenCount)} {this._props.keyName} {')'.repeat(parenCount)} |