Improve profile

This commit is contained in:
Peter Maquiran
2021-05-27 16:21:04 +01:00
parent b686696bf7
commit ad07ed0540
10 changed files with 92 additions and 3 deletions
@@ -6,7 +6,7 @@ import { AuthService } from 'src/app/services/auth.service';
import { ChatService } from 'src/app/services/chat.service';
import { ChatOptionsPopoverPage } from 'src/app/shared/popover/chat-options-popover/chat-options-popover.page';
import { MessagesOptionsPage } from 'src/app/shared/popover/messages-options/messages-options.page';
import { ProfileComponent } from '../../headers/header-no-search/profile/profile.component';
import { ProfileComponent } from '../../headers/header-no-search/profile/profile.page';
import { ContactsPage } from '../new-group/contacts/contacts.page';
@Component({
@@ -258,7 +258,7 @@ export class DespachosPage implements OnInit {
const doc = this.taskList[ this.dicIndex];
console.log(doc, this.dicIndex, this.taskList)
// console.log(doc, this.dicIndex, this.taskList)
const modal = await this.modalController.create({
component: DiscartExpedientModalPage,
+1 -1
View File
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
import { AnimationController, ModalController } from '@ionic/angular';
import { SearchPage } from 'src/app/pages/search/search.page';
import { Router } from '@angular/router';
import { ProfileComponent } from '../headers/header-no-search/profile/profile.component';
import { ProfileComponent } from '../headers/header-no-search/profile/profile.page';
import { AuthService } from 'src/app/services/auth.service';
import { User } from 'src/app/models/user.model';
+17
View File
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PinPage } from './pin.page';
const routes: Routes = [
{
path: '',
component: PinPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class PinPageRoutingModule {}
+20
View File
@@ -0,0 +1,20 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { PinPageRoutingModule } from './pin-routing.module';
import { PinPage } from './pin.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
PinPageRoutingModule
],
declarations: [PinPage]
})
export class PinPageModule {}
+9
View File
@@ -0,0 +1,9 @@
<ion-header>
<ion-toolbar>
<ion-title>pin</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
View File
+24
View File
@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { PinPage } from './pin.page';
describe('PinPage', () => {
let component: PinPage;
let fixture: ComponentFixture<PinPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ PinPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(PinPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
+15
View File
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-pin',
templateUrl: './pin.page.html',
styleUrls: ['./pin.page.scss'],
})
export class PinPage implements OnInit {
constructor() { }
ngOnInit() {
}
}