symphonycms/symphony-2

View on GitHub
symphony/assets/js/src/backend.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

        if (path && route) {
            var contextId = (path + route).split('/').filter(function(part) {
                return (part != 'edit' && part != 'new' && part != 'created' && part != 'saved' && part != '');
            }).join('.');
            Symphony.Context.add('context-id', contextId);
Severity: Major
Found in symphony/assets/js/src/backend.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status