fix(SearchSubMenu): Groups not being parsed due to a typo

This commit is contained in:
LuanRT
2023-08-22 09:06:06 -03:00
parent 22a38c0762
commit 90be877d28

View File

@@ -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'))