superdesk/superdesk-client-core

View on GitHub
scripts/extensions/annotationsLibrary/src/AnnotationInputWithKnowledgeBase.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function getAnnotationInputWithKnowledgeBase has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getAnnotationInputWithKnowledgeBase(superdesk: ISuperdesk) {
    class AnnotationInputWithKnowledgeBaseComponent
        extends React.Component<IPropsAnnotationInputComponent & IPropsConnected> {
        componentDidMount() {
            const {generateFilterForServer} = superdesk.forms;

    There are no issues that match your filters.

    Category
    Status