locomotivecms/engine

View on GitHub
app/javascript/src/locomotive/editor/views/sections/edit/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const { sectionDefinition, sectionContent, translate } = this.props;

    // DEBUG
    // console.log('BlockList', sectionDefinition.blocks_display, sectionDefinition.block_max_depth, sectionDefinition.blocks_display === 'tree' ? sectionDefinition.block_max_depth || 1 : 0)
Severity: Minor
Found in app/javascript/src/locomotive/editor/views/sections/edit/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status