Merge branch 'max_dev' of Software_Engineering_I/greenvironment-frontend into master

master
Max_ES 5 years ago committed by Gitea
commit 2ad28afdfd

@ -28,3 +28,18 @@ $scrollbar-thumb-color-dark: #aaa
background: $scrollbar-thumb-color
.dark-theme
background: $scrollbar-thumb-color-dark
::ng-deep .lb-dataContainer
display: none
::ng-deep .lightbox .lb-image
border: none
::ng-deep .lb-outerContainer
background-color: transparent
::ng-deep .lb-outerContainer
height: 100vh !important
display: flex
justify-content: center
align-items: center

@ -78,7 +78,10 @@ export class SearchComponent implements OnInit {
public joinGroup(group: GroupInfo) {
group.allowedToJoinGroup = false;
this.requestService.joinGroup(group);
this.requestService.joinGroup(group)
.subscribe(() => {
this.data.addGroupToUser(group);
});
}
}

Loading…
Cancel
Save