scripts/apps/workspace/directives/WorkspaceDropdownDirective.ts
Function WorkspaceDropdownDirective
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function WorkspaceDropdownDirective(desks, workspaces, $route, preferencesService, $location, reloadService,
notifyConnectionService, deskNotifications, pageTitle) {
return {
templateUrl: 'scripts/apps/workspace/views/workspace-dropdown.html',
link: function(scope) {
Function link
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope) {
scope.workspaces = workspaces;
scope.wsList = null;
scope.edited = null;
Function WorkspaceDropdownDirective
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function WorkspaceDropdownDirective(desks, workspaces, $route, preferencesService, $location, reloadService,
notifyConnectionService, deskNotifications, pageTitle) {