Skip to content
Snippets Groups Projects
Commit f3e5884c authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: borken link un profil for editing structure and .gitlabci rollback

parent 99a273cd
Branches
Tags
1 merge request!187Dev
......@@ -63,7 +63,6 @@ deploy_dev:
- cd /home/mps/ram
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull web-app
- docker-compose stop web-app
- docker-compose up -d web-app
- docker system prune -a -f
......@@ -77,7 +76,6 @@ deploy_mobile:
- cd /home/mps/ram
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull web-app
- docker-compose stop web-app
- docker-compose up -d web-app
- docker system prune -a -f
......@@ -91,7 +89,6 @@ deploy_rec:
- cd /home/mps/ram
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull web-app-rec
- docker-compose stop web-app
- docker-compose up -d web-app-rec
- docker system prune -a -f
......
......@@ -122,7 +122,7 @@ export class StructureOptionsModalComponent implements OnInit {
this.editModal = TypeModalProfile.deleteAccount;
break;
case FunctionTypeModalOptions.editStructure:
this.router.navigateByUrl('/create-structure', { state: { data: this.structure.structure } });
this.router.navigateByUrl(`/create-structure/${this.structure.structure._id}`);
break;
case FunctionTypeModalOptions.removeStructure:
this.toggleDeleteStructureModal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment