diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0fb104a4ec04ba5ee81302b51176ccb5f726868c..3564df81113e19c147137269322b78c0bc1f57b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/src/app/shared/components/structure-options-modal/structure-options-modal.component.ts b/src/app/shared/components/structure-options-modal/structure-options-modal.component.ts index 7f3ea1a62aa72cc0b60bce324ea9e5beedfac267..ef6eea1711ee2e9177bd66f74ff3540eeabc6fdd 100644 --- a/src/app/shared/components/structure-options-modal/structure-options-modal.component.ts +++ b/src/app/shared/components/structure-options-modal/structure-options-modal.component.ts @@ -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();