aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/linking/LinkEditor.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/linking/LinkEditor.tsx b/src/client/views/linking/LinkEditor.tsx
index e3bf6b5f8..6df52c126 100644
--- a/src/client/views/linking/LinkEditor.tsx
+++ b/src/client/views/linking/LinkEditor.tsx
@@ -215,6 +215,7 @@ export class LinkGroupEditor extends React.Component<LinkGroupEditorProps> {
@action
setGroupType = (groupType: string): void => {
this.props.groupDoc.type = groupType;
+ this.props.groupDoc.title = groupType;
}
removeGroupFromLink = (groupType: string): void => {
@@ -246,6 +247,7 @@ export class LinkGroupEditor extends React.Component<LinkGroupEditorProps> {
// create new group doc with new metadata doc
const destGroupDoc = new Doc();
destGroupDoc.type = groupType;
+ destGroupDoc.title = groupType;
destGroupDoc.metadata = destMdDoc;
if (destDoc) {