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