From 09a49a0df401964a1ff4a0defa4189de256f5417 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 20 Jun 2022 20:23:13 -0400 Subject: removed breaking debugging code. --- src/client/views/DocumentDecorations.tsx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2