From 90be877d28e0ef013056eaeaa4f2765c91addd61 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Tue, 22 Aug 2023 09:06:06 -0300 Subject: [PATCH] fix(SearchSubMenu): Groups not being parsed due to a typo --- src/parser/classes/SearchSubMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/classes/SearchSubMenu.ts b/src/parser/classes/SearchSubMenu.ts index 6a88035a..b1a3c864 100644 --- a/src/parser/classes/SearchSubMenu.ts +++ b/src/parser/classes/SearchSubMenu.ts @@ -17,7 +17,7 @@ export default class SearchSubMenu extends YTNode { if (Reflect.has(data, 'title')) this.title = new Text(data.title); - if (!Reflect.has(data, 'groups')) + if (Reflect.has(data, 'groups')) this.groups = Parser.parseArray(data.groups, SearchFilterGroup); if (Reflect.has(data, 'button'))