src/components/header/HeaderDirective.js
Showing 2 of 2 total issues
Function HeaderDirective
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function HeaderDirective($timeout) { return { restrict: 'E', controller: HeaderController, controllerAs: 'header',
- Create a ticketCreate a ticket
Function link
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link($scope, $elm, $attrs, ctrl) { $scope.columnsResorted = function columnsResorted(event, columnId) { const col = findColumnById(columnId); const parent = angular.element(event.currentTarget);
- Create a ticketCreate a ticket