mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
remove refresh token
This commit is contained in:
@@ -9,7 +9,7 @@ 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';
|
||||
|
||||
import { RouteService } from 'src/app/services/route.service';
|
||||
@Component({
|
||||
selector: 'app-new-group',
|
||||
templateUrl: './new-group.page.html',
|
||||
@@ -25,6 +25,7 @@ export class NewGroupPage implements OnInit{
|
||||
selectedDuration = ['','',''];
|
||||
countDownTime:any;
|
||||
task:any;
|
||||
link = ''
|
||||
documents: any;
|
||||
loggedUserChat: any;
|
||||
|
||||
@@ -42,7 +43,8 @@ export class NewGroupPage implements OnInit{
|
||||
public ChatSystemService: ChatSystemService,
|
||||
private authService: AuthService,
|
||||
private toastService: ToastService,
|
||||
public ThemeService: ThemeService
|
||||
public ThemeService: ThemeService,
|
||||
private RouteService: RouteService,
|
||||
)
|
||||
{
|
||||
this.loggedUserChat = authService.ValidatedUserChat['data'];
|
||||
@@ -52,10 +54,11 @@ export class NewGroupPage implements OnInit{
|
||||
ngOnInit() {
|
||||
this.task = this.dataService.get("task");
|
||||
if(this.task) {
|
||||
this.link = this.dataService.get("link");
|
||||
this.groupName = this.task.Folio;
|
||||
this.documents = this.dataService.get("documents");
|
||||
console.log(this.dataService.data);
|
||||
this.dataService.set("newGroup", false);
|
||||
this.dataService.set("link", false);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -74,7 +77,12 @@ export class NewGroupPage implements OnInit{
|
||||
|
||||
close() {
|
||||
// this.addGroupMessage.emit();
|
||||
this.closeAllDesktopComponents.emit();
|
||||
if(this.link) {
|
||||
this.RouteService.goBack();
|
||||
this.dataService.set("link", false);
|
||||
} else {
|
||||
this.closeAllDesktopComponents.emit();
|
||||
}
|
||||
}
|
||||
|
||||
async createGroup() {
|
||||
|
||||
Reference in New Issue
Block a user