diff options
author | bobzel <zzzman@gmail.com> | 2022-06-20 20:27:03 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-20 20:27:03 -0400 |
commit | a6fc21bf52e0e265d74870b4c5abc2bcb00fd386 (patch) | |
tree | b65e5b83c0d9a3945bd6ea9e304283e806cddf99 /src | |
parent | 9f3a7db18b9461bcc228c9fd554c610da255dab8 (diff) | |
parent | 09a49a0df401964a1ff4a0defa4189de256f5417 (diff) |
Merge branch 'master' into temporalmedia-mehek
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; |