Skip to content

Commit

Permalink
Remove unused imports from UI
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvanb committed Mar 19, 2024
1 parent ad6cb3d commit 86bf6a3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
Expand Up @@ -3,7 +3,7 @@ import { FormBuilder, Validators } from '@angular/forms';
import { MatSelectChange } from '@angular/material/select';
import { compareObjIDs } from 'src/app/helpers/general.helper';
import { Collaboration, CollaborationForm } from 'src/app/models/api/collaboration.model';
import { BaseOrganization, Organization, OrganizationSortProperties } from 'src/app/models/api/organization.model';
import { BaseOrganization, OrganizationSortProperties } from 'src/app/models/api/organization.model';
import { OrganizationService } from 'src/app/services/organization.service';

@Component({
Expand Down
@@ -1,4 +1,4 @@
import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { FormBuilder, Validators } from '@angular/forms';
import { Organization } from 'src/app/models/api/organization.model';
import { RoleForm } from 'src/app/models/api/role.model';
Expand Down
@@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { Component, Input, OnChanges } from '@angular/core';
import { filter } from 'd3';
import { Output, OutputVisualizeType } from 'src/app/models/api/algorithm.model';

interface VisualizeResult {
Expand Down
2 changes: 1 addition & 1 deletion vantage6-ui/src/app/pages/task/list/task-list.component.ts
Expand Up @@ -8,7 +8,7 @@ import { getApiSearchParameters } from 'src/app/helpers/api.helper';
import { unlikeApiParameter } from 'src/app/helpers/general.helper';
import { getChipTypeForStatus, getTaskStatusTranslation } from 'src/app/helpers/task.helper';
import { PaginationLinks } from 'src/app/models/api/pagination.model';
import { OperationType, ResourceType, ScopeType } from 'src/app/models/api/rule.model';
import { OperationType, ResourceType } from 'src/app/models/api/rule.model';
import { BaseTask, GetTaskParameters, TaskSortProperties, TaskStatus } from 'src/app/models/api/task.models';
import { TableData } from 'src/app/models/application/table.model';
import { CHOSEN_COLLABORATION, USER_ID } from 'src/app/models/constants/sessionStorage';
Expand Down
5 changes: 0 additions & 5 deletions vantage6-ui/src/app/services/collaboration.service.ts
Expand Up @@ -9,18 +9,13 @@ import {
GetCollaborationParameters
} from '../models/api/collaboration.model';
import { getLazyProperties } from '../helpers/api.helper';
import { PermissionService } from './permission.service';
import { OperationType, ResourceType, ScopeType } from '../models/api/rule.model';
import { StudyService } from './study.service';

@Injectable({
providedIn: 'root'
})
export class CollaborationService {
constructor(
private apiService: ApiService,
private permissionService: PermissionService,
private studyService: StudyService
) {}

async getCollaborations(parameters?: GetCollaborationParameters): Promise<BaseCollaboration[]> {
Expand Down

0 comments on commit 86bf6a3

Please sign in to comment.