mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
improve
This commit is contained in:
@@ -659,8 +659,6 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
this.newGroup();
|
||||
}
|
||||
else {
|
||||
// console.log(this.task)
|
||||
// console.log(this.fulltask)
|
||||
this.dataService.set("newGroup", true);
|
||||
this.dataService.set("task", this.task);
|
||||
this.dataService.set("newGroupName", this.task.Folio);
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
<ion-toolbar class="header-toolbar">
|
||||
<div class="main-header">
|
||||
<div class="title-content">
|
||||
<div class="left">
|
||||
<button class="btn-no-color" (click)="close()">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="middle">
|
||||
<ion-label class="title">Novo Grupo</ion-label>
|
||||
</div>
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user