This commit is contained in:
Peter Maquiran
2022-09-28 16:54:24 +01:00
parent f2b4128836
commit aa72837f66
3 changed files with 10 additions and 4 deletions
@@ -8,6 +8,7 @@ import { GroupDurationPage } from 'src/app/shared/popover/group-duration/group-d
import { SessionStore } from 'src/app/store/session.service';
import { GroupContactsPage } from '../group-messages/group-contacts/group-contacts.page';
import { ToastService } from 'src/app/services/toast.service';
import { ThemeService } from 'src/app/services/theme.service';
@Component({
selector: 'app-new-group',
@@ -41,6 +42,7 @@ export class NewGroupPage implements OnInit{
public wsChatMethodsService: WsChatMethodsService,
private authService: AuthService,
private toastService: ToastService,
public ThemeService: ThemeService
)
{
this.loggedUserChat = authService.ValidatedUserChat['data'];
@@ -68,8 +70,8 @@ export class NewGroupPage implements OnInit{
}
close() {
this.dataService.set("newGroup", false);
this.addGroupMessage.emit();
// this.addGroupMessage.emit();
this.closeAllDesktopComponents.emit();
}
async createGroup() {