Fix categories not being able to be disabled

This commit is contained in:
Ajay 2022-07-19 23:37:42 -04:00
parent 0f9122aa1c
commit af86534992

View file

@ -113,6 +113,8 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
switch (event.target.value) {
case "disable":
Config.config.categorySelections = Config.config.categorySelections.filter(
categorySelection => categorySelection.name !== this.props.category);
return;
case "showOverlay":
option = CategorySkipOption.ShowOverlay;