superdesk/superdesk-client-core

View on GitHub
scripts/apps/extension-points/directives/ExtensionPointDirective.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ExtensionPointDirective has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function ExtensionPointDirective(extensionPoints, _, $q) {
    function _buildCompoment(extension, scope) {
        // for easy access put values from parent scope into ...
        const callback = extension.onInit && extension.onInit(extension, scope) || $q.resolve();

    There are no issues that match your filters.

    Category
    Status