Coursemology/coursemology2

View on GitHub
client/app/bundles/course/user-email-subscriptions/UserEmailSubscriptionsTable.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function renderRow has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderRow(setting) {
    const componentTitle =
      setting.component_title ??
      (subscriptionComponents[setting.component] ? (
        <FormattedMessage {...subscriptionComponents[setting.component]} />

Function renderEmailSettingsTable has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderEmailSettingsTable() {
    const { userEmailSubscriptions } = this.props;

    if (userEmailSubscriptions.length === 0) {
      return (

There are no issues that match your filters.

Category
Status