in public/src/components/channelManagement/testEditorArticleCountEditor.tsx [78:91]
minViews: parseInt(minViews),
maxViews: parseInt(maxViews) || null,
periodInWeeks: parseInt(periodInWeeks),
tagIds: articlesViewedSettings?.tagIds || null,
});
};
useEffect(() => {
const isValid = Object.keys(errors).length === 0;
onValidationChange(isValid);
}, [errors.minViews, errors.maxViews, errors.periodInWeeks, errors.tagIds]);
const onRadioGroupChange = (event: React.ChangeEvent<HTMLInputElement>): void => {
if (event.target.value === 'enabled') {