mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
collectionModifiable can be null
This commit is contained in:
@@ -34,9 +34,14 @@ export class SubmissionEditComponent implements OnDestroy, OnInit {
|
||||
* The collection id this submission belonging to
|
||||
* @type {string}
|
||||
*/
|
||||
public collectionModifiable: boolean;
|
||||
|
||||
public collectionId: string;
|
||||
|
||||
/**
|
||||
* Checks if the collection can be modifiable by the user
|
||||
* @type {booelan}
|
||||
*/
|
||||
public collectionModifiable: boolean | null = null;
|
||||
|
||||
|
||||
/**
|
||||
* The list of submission's sections
|
||||
|
@@ -56,7 +56,7 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
|
||||
* Checks if the collection can be modifiable by the user
|
||||
* @type {booelan}
|
||||
*/
|
||||
@Input() collectionModifiable: boolean;
|
||||
@Input() collectionModifiable: boolean | null = null;
|
||||
|
||||
/**
|
||||
* The submission id
|
||||
|
@@ -41,7 +41,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
|
||||
* Checks if the collection can be modifiable by the user
|
||||
* @type {booelan}
|
||||
*/
|
||||
@Input() collectionModifiable: boolean;
|
||||
@Input() collectionModifiable: boolean | null = null;
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user