Skip to content

Commit 5012eb1

Browse files
committed
Added default title to book embeddable
1 parent fab753e commit 5012eb1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/embeddable_examples/public/book/book_embeddable.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class BookEmbeddable
8989
} else {
9090
this.updateOutput({
9191
attributes: this.attributes,
92+
defaultTitle: this.attributes.title,
9293
hasMatch: getHasMatch(this.input.search, this.attributes),
9394
});
9495
}
@@ -125,6 +126,7 @@ export class BookEmbeddable
125126

126127
this.updateOutput({
127128
attributes: this.attributes,
129+
defaultTitle: this.attributes.title,
128130
hasMatch: getHasMatch(this.input.search, this.attributes),
129131
});
130132
}

0 commit comments

Comments
 (0)