diff options
| author | bobzel <zzzman@gmail.com> | 2024-09-04 13:22:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-09-04 13:22:42 -0400 |
| commit | 48e9246839d8491e1c40632851980527b8a4dbdd (patch) | |
| tree | 17d087af44f40d107792fbefc95795cc5b087166 | |
| parent | a5ac17898151df59c748547acbcb0d2ac63d357d (diff) | |
warning fix
| -rw-r--r-- | src/client/views/nodes/FontIconBox/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FontIconBox/FontIconBox.tsx b/src/client/views/nodes/FontIconBox/FontIconBox.tsx index f2f7f39bb..7a09ad9e2 100644 --- a/src/client/views/nodes/FontIconBox/FontIconBox.tsx +++ b/src/client/views/nodes/FontIconBox/FontIconBox.tsx @@ -345,7 +345,7 @@ export class FontIconBox extends ViewBoxBaseComponent<ButtonProps>() { @computed get editableText() { const script = ScriptCast(this.Document.script); - const checkResult = script?.script.run({ this: this.Document, value: '', _readOnly_: true }).result; + const checkResult = script?.script.run({ this: this.Document, value: '', _readOnly_: true }).result as string; const setValue = (value: string) => script?.script.run({ this: this.Document, value, _readOnly_: false }).result as boolean; |
