Fixes bug on not redirecting to correct url when clicking on Dataset Description on Published DMP Overview view.
This commit is contained in:
parent
05c4039dbe
commit
416538532c
|
@ -100,8 +100,12 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
datasetClicked(datasetId: String) {
|
datasetClicked(datasetId: String) {
|
||||||
|
if (this.isPublicView) {
|
||||||
|
this.router.navigate(['/datasets/publicEdit/' + datasetId]);
|
||||||
|
} else {
|
||||||
this.router.navigate(['/datasets/edit/' + datasetId]);
|
this.router.navigate(['/datasets/edit/' + datasetId]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
datasetsClicked(dmpId: String) {
|
datasetsClicked(dmpId: String) {
|
||||||
if (!this.isFinalized)
|
if (!this.isFinalized)
|
||||||
|
|
Loading…
Reference in New Issue