superdesk/superdesk-client-core

View on GitHub
scripts/apps/authoring-react/fields/attachments/difference-default-implementation.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    render() {
        const ids1 = (this.props.attachmentsPrevious ?? []).map(({_id}) => _id);
        const ids2 = (this.props.attachmentsCurrent ?? []).map(({_id}) => _id);

        const stats = getDifferenceStatistics(

    There are no issues that match your filters.

    Category
    Status