diff options
author | bobzel <zzzman@gmail.com> | 2025-03-23 10:27:28 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-23 10:27:28 -0400 |
commit | d0fccd1050f5d6ccc24c1e4d2b7d1c0ed94fb2a7 (patch) | |
tree | de590c363ca12b13a93c4ba12005a8d76b633759 /src/client/views/nodes/LinkBox.tsx | |
parent | bc308b888f41e8789f1b9f522ced46e68e726862 (diff) |
updated more [DocData] to .$ things
Diffstat (limited to 'src/client/views/nodes/LinkBox.tsx')
-rw-r--r-- | src/client/views/nodes/LinkBox.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx index d5dc256d9..8bf65b637 100644 --- a/src/client/views/nodes/LinkBox.tsx +++ b/src/client/views/nodes/LinkBox.tsx @@ -252,7 +252,7 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps>() { fontSize={fontSize} GetValue={() => linkDesc} SetValue={action(val => { - this.Document[DocData].link_description = val; + this.Document.$link_description = val; return true; })} /> @@ -262,8 +262,8 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps>() { background={color} color={fontColor || lightOrDark(DashColor(color).fade(0.5).toString())} type={Type.PRIM} - val={StrCast(this.Document[DocData].link_description)} - setVal={action(val => (this.Document[DocData].link_description = val))} + val={StrCast(this.Document.$link_description)} + setVal={action(val => (this.Document.$link_description = val))} fillWidth /> */} </div> |