client/app/bundles/course/user-email-subscriptions/UserEmailSubscriptionsTable.jsx
Function renderRow
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderRow(setting) {
const componentTitle =
setting.component_title ??
(subscriptionComponents[setting.component] ? (
<FormattedMessage {...subscriptionComponents[setting.component]} />
- Create a ticketCreate a ticket
Function renderEmailSettingsTable
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderEmailSettingsTable() {
const { userEmailSubscriptions } = this.props;
if (userEmailSubscriptions.length === 0) {
return (
- Create a ticketCreate a ticket