src/components/header/SortableDirective.js
Showing 3 of 3 total issues
Function SortableDirective
has a Cognitive Complexity of 24 (exceeds 5 allowed). Consider refactoring. Open
Open
export default function SortableDirective() { return { restrict: 'A', scope: { isSortable: '=sortable',
- Read upRead up
- Create a ticketCreate a ticket
Function SortableDirective
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function SortableDirective() { return { restrict: 'A', scope: { isSortable: '=sortable',
- Create a ticketCreate a ticket
Function link
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link($scope, $element) { let dragEl; let nextEl; function isbefore(a, b) {
- Create a ticketCreate a ticket