Skip to content

Commit

Permalink
fix(SearchSubMenu): Groups not being parsed due to a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Aug 22, 2023
1 parent 22a38c0 commit 90be877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/classes/SearchSubMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 90be877

Please sign in to comment.