mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
if collectionModiable does not exists is set as null
This commit is contained in:
@@ -117,7 +117,7 @@ export class SubmissionEditComponent implements OnDestroy, OnInit {
|
||||
*/
|
||||
ngOnInit() {
|
||||
|
||||
this.collectionModifiable = this.route.snapshot.data.collectionModifiable;
|
||||
this.collectionModifiable = this.route.snapshot.data.collectionModifiable ?? null;
|
||||
|
||||
this.subs.push(
|
||||
this.route.paramMap.pipe(
|
||||
|
Reference in New Issue
Block a user