YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/Settings/ApiAddress/resources/ApiAddress.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function registerConfigModal has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        registerConfigModal(container) {
            container.find('.js-show-config-modal').on('click', (e) => {
                const providerName = e.currentTarget.dataset.provider;

                app.showModalWindow({

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

            registerSave: function (container) {
                container.validationEngine(app.validationEngineOptions);
                container.find('.saveGlobal').on('click', (e) => {
                    if (!container.validationEngine('validate')) {
                        app.formAlignmentAfterValidation(container);

      There are no issues that match your filters.

      Category
      Status