diff --git a/src/parser/classes/RichShelf.ts b/src/parser/classes/RichShelf.ts index b34591b2a..962697dbe 100644 --- a/src/parser/classes/RichShelf.ts +++ b/src/parser/classes/RichShelf.ts @@ -9,6 +9,7 @@ export default class RichShelf extends YTNode { title: Text; contents: ObservedArray; endpoint?: NavigationEndpoint; + subtitle?: Text; constructor(data: RawNode) { super(); @@ -18,5 +19,9 @@ export default class RichShelf extends YTNode { if (Reflect.has(data, 'endpoint')) { this.endpoint = new NavigationEndpoint(data.endpoint); } + + if (Reflect.has(data, 'subtitle')) { + this.subtitle = new Text(data.subtitle); + } } } \ No newline at end of file