Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 0 additions & 202 deletions src/app/datasets/archiving.service.spec.ts

This file was deleted.

134 changes: 0 additions & 134 deletions src/app/datasets/archiving.service.ts

This file was deleted.

20 changes: 5 additions & 15 deletions src/app/datasets/batch-view/batch-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,11 @@
Share
</button>
</ng-container>
<ng-container *ngIf="appConfig.archiveWorkflowEnabled">
<button mat-button (click)="onArchive()" class="button" color="primary">
<mat-icon> archive </mat-icon>
Archive
</button>
<button
mat-button
(click)="onRetrieve()"
class="button"
color="primary"
>
<mat-icon> cloud_download </mat-icon>
Retrieve
</button>
</ng-container>
<configurable-actions *ngIf="appConfig.batchActionsEnabled"
[actionsConfig]="appConfig.batchActions" [actionItems]="actionItems"
[buttonsStyle]="actionButtonsStyle"
(actionFinished)="onActionFinished($event)">
</configurable-actions>
</div>

<mat-table
Expand Down
3 changes: 0 additions & 3 deletions src/app/datasets/batch-view/batch-view.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import { NO_ERRORS_SCHEMA } from "@angular/core";
import { ActivatedRoute, Router } from "@angular/router";
import {
MockActivatedRoute,
MockArchivingService,
MockDatasetApi,
mockDataset as dataset,
} from "shared/MockStubs";
import { ArchivingService } from "../archiving.service";
import { MatIconModule } from "@angular/material/icon";
import { MatButtonModule } from "@angular/material/button";

Expand Down Expand Up @@ -160,7 +158,6 @@ describe("BatchViewComponent", () => {
TestBed.overrideComponent(BatchViewComponent, {
set: {
providers: [
{ provide: ArchivingService, useClass: MockArchivingService },
{ provide: Router, useValue: router },
{ provide: DatasetsService, useClass: MockDatasetApi },
{ provide: AppConfigService, useValue: { getConfig } },
Expand Down
Loading
Loading