YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/components/MediaModal.js

Summary

Maintainability
A
1 hr
Test Coverage

Function registerImageEvents has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    registerImageEvents() {
        let fileInput = this.container.find('.js-icon-file');
        if (fileInput.length) {
            let fieldInfo = fileInput.data('fieldinfo') || {};
            this.container.find('.js-image-add').on('click', () => {
Severity: Minor
Found in public_html/layouts/basic/components/MediaModal.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status