fabiocaccamo/django-admin-interface

View on GitHub
admin_interface/static/admin_interface/related-modal/related-modal.js

Summary

Maintainability
A
1 hr
Test Coverage

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

            function presentRelatedObjectModal(e) {
                const linkEl = $(this);

                const href = (linkEl.attr('href') || '');
                if (href === '') {

    There are no issues that match your filters.

    Category
    Status