mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
solving lint issues
This commit is contained in:
@@ -104,7 +104,7 @@ export class SubmissionEditComponent implements OnDestroy, OnInit {
|
||||
private itemDataService: ItemDataService,
|
||||
private submissionService: SubmissionService,
|
||||
private translate: TranslateService,
|
||||
private submissionJsonPatchOperationsService: SubmissionJsonPatchOperationsService) {
|
||||
private submissionJsonPatchOperationsService: SubmissionJsonPatchOperationsService) {
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -112,8 +112,8 @@ export class SubmissionEditComponent implements OnDestroy, OnInit {
|
||||
*/
|
||||
ngOnInit() {
|
||||
|
||||
this.collectionModifiable = this.route.snapshot.data['collectionModifiable'];
|
||||
|
||||
this.collectionModifiable = this.route.snapshot.data.collectionModifiable;
|
||||
|
||||
this.subs.push(
|
||||
this.route.paramMap.pipe(
|
||||
switchMap((params: ParamMap) => this.submissionService.retrieveSubmission(params.get('id'))),
|
||||
|
@@ -51,7 +51,7 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
|
||||
* @type {SubmissionDefinitionsModel}
|
||||
*/
|
||||
@Input() currentDefinition: string;
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the collection can be modifiable by the user
|
||||
* @type {booelan}
|
||||
@@ -150,7 +150,6 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
|
||||
ngOnInit() {
|
||||
this.pathCombiner = new JsonPatchOperationPathCombiner('sections', 'collection');
|
||||
this.available$ = this.sectionsService.isSectionTypeAvailable(this.submissionId, SectionsType.collection);
|
||||
console.log("this.collectionModifiable", this.collectionModifiable)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -34,7 +34,7 @@ import {
|
||||
resolve: {
|
||||
breadcrumb: I18nBreadcrumbResolver
|
||||
},
|
||||
data: {
|
||||
data: {
|
||||
title: 'workflow-item.edit.title',
|
||||
breadcrumbKey: 'workflow-item.edit',
|
||||
collectionModifiable: true
|
||||
|
Reference in New Issue
Block a user