diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-05 18:24:13 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-05 18:24:13 -0400 |
| commit | 09a471ac693e8178598c0d953b83868db9e4c8b4 (patch) | |
| tree | d46198e938b69a57c86ad7c20c1fca5bc4f62d05 /src/client/views/nodes/LinkEditor.tsx | |
| parent | 68d18976359434c46cc9bde3df6fbe708021761e (diff) | |
fixed link titles, kvp title, and closing a stack of tabs
Diffstat (limited to 'src/client/views/nodes/LinkEditor.tsx')
| -rw-r--r-- | src/client/views/nodes/LinkEditor.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/nodes/LinkEditor.tsx b/src/client/views/nodes/LinkEditor.tsx index f82c6e9cb..71a423338 100644 --- a/src/client/views/nodes/LinkEditor.tsx +++ b/src/client/views/nodes/LinkEditor.tsx @@ -24,8 +24,9 @@ export class LinkEditor extends React.Component<Props> { onSaveButtonPressed = (e: React.PointerEvent): void => { e.stopPropagation(); - this.props.linkDoc.title = this._nameInput; - this.props.linkDoc.linkDescription = this._descriptionInput; + let linkDoc = this.props.linkDoc.proto ? this.props.linkDoc.proto : this.props.linkDoc; + linkDoc.title = this._nameInput; + linkDoc.linkDescription = this._descriptionInput; this.props.showLinks(); } |
