Fixes bug on removing /grants
This commit is contained in:
parent
2a1eeb92d3
commit
5fab3fb9d1
|
@ -27,10 +27,10 @@ export class DatasetListingItemComponent implements OnInit {
|
|||
this.onClick.emit(this.dataset);
|
||||
}
|
||||
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// grantClicked(dataset: DatasetListingModel) {
|
||||
// this.router.navigate(['/grants/edit/' + dataset.grantId]);
|
||||
// }
|
||||
grantClicked(dataset: DatasetListingModel) {
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// this.router.navigate(['/grants/edit/' + dataset.grantId]);
|
||||
}
|
||||
|
||||
datasetClicked(dataset: DatasetListingModel) {
|
||||
this.router.navigate(['/plans/edit/' + dataset.dmpId])
|
||||
|
|
|
@ -85,10 +85,10 @@ export class DmpListingItemComponent implements OnInit {
|
|||
this.onClick.emit(this.dmp);
|
||||
}
|
||||
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// grantClicked(grantId: String) {
|
||||
// this.router.navigate(['/grants/edit/' + grantId]);
|
||||
// }
|
||||
grantClicked(grantId: String) {
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// this.router.navigate(['/grants/edit/' + grantId]);
|
||||
}
|
||||
|
||||
datasetClicked(dmpId: string) {
|
||||
this.router.navigate(['/plans/edit/' + dmpId], { queryParams: { tab: "datasetDescriptions" } });
|
||||
|
|
|
@ -93,10 +93,10 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
|||
this.router.navigate(['/plans/clone/' + dmp.id]);
|
||||
}
|
||||
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// grantClicked(grantId: String) {
|
||||
// this.router.navigate(['/grants/edit/' + grantId]);
|
||||
// }
|
||||
grantClicked(grantId: String) {
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
// this.router.navigate(['/grants/edit/' + grantId]);
|
||||
}
|
||||
|
||||
datasetClicked(datasetId: String) {
|
||||
if (this.isPublicView) {
|
||||
|
|
Loading…
Reference in New Issue