diff options
author | bobzel <zzzman@gmail.com> | 2022-06-20 20:23:20 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-20 20:23:20 -0400 |
commit | 301f13ebcbc47bd04b56210620aafaaad5f2998e (patch) | |
tree | b7f051755ae2f65e1fe626e984fc884d5522900e /src | |
parent | 8abd1fe4cbbbbbc9719ca8aa92892f19d60e74d6 (diff) | |
parent | 09a49a0df401964a1ff4a0defa4189de256f5417 (diff) |
Merge branch 'master' into mainview-jenny
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index d22fb5f01..18cf785b9 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -461,9 +461,6 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number, P return ScriptField.MakeFunction(this._titleControlString.substring(1), { doc: Doc.name })!.script.run({ self: selected.rootDoc, this: selected.layoutDoc }, console.log).result?.toString() || ""; } if (this._titleControlString.startsWith("#")) { - const cfield = ComputedField.WithoutComputed(() => FieldValue(selected.props.Document.title)); - console.log(cfield); - (cfield as any)?.script.run().result; return Field.toString(selected.props.Document[this._titleControlString.substring(1)] as Field) || "-unset-"; } return this._accumulatedTitle; |