Skip to content

Commit d27f406

Browse files
committed
fix modal redirect assign project to program
1 parent eb9079e commit d27f406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/social_platform/src/app/office/projects/edit/edit.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ export class ProjectEditComponent implements OnInit, AfterViewInit, OnDestroy {
278278
next: r => {
279279
this.assignProjectToProgramModalMessage.set(r);
280280
this.isAssignProjectToProgramModalOpen.set(true);
281+
this.router.navigateByUrl(`/office/projects/${r.newProjectId}/edit?editingStep=main`);
281282
},
282283

283284
error: err => {
@@ -422,7 +423,6 @@ export class ProjectEditComponent implements OnInit, AfterViewInit, OnDestroy {
422423

423424
closeAssignProjectToProgramModal(): void {
424425
this.isAssignProjectToProgramModalOpen.set(false);
425-
this.router.navigateByUrl(`/office/projects/my`);
426426
}
427427

428428
/**

0 commit comments

Comments
 (0)