client/app/bundles/course/admin/pages/NotificationSettings/index.jsx
Function renderRow
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderRow(setting) {
const componentTitle =
setting.title ??
(settingComponents[setting.component] ? (
<FormattedMessage {...settingComponents[setting.component]} />
- Create a ticketCreate a ticket
Function renderEmailSettingsTable
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderEmailSettingsTable() {
const { emailSettings } = this.props;
if (emailSettings.length < 1) {
return (
- Create a ticketCreate a ticket