Skip to content

Commit e5c5592

Browse files
committed
removed comments and profile tab
1 parent 28ee1b0 commit e5c5592

3 files changed

Lines changed: 1 addition & 10 deletions

File tree

src/app/pages/people/people.page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<ion-searchbar (ionInput)="filterPeople($event)" showCancelButton="focus"></ion-searchbar>
2222

23-
<!-- "You" section pinned at top -->
23+
2424
<ion-list *ngIf="!loading && filter === '' && userResult?.data?.me as user">
2525
<ion-item-divider>
2626
<ion-label>You</ion-label>

src/app/pages/people/people.page.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ export type AlphabetMapOfUsers = {
2222
})
2323
export class PeoplePage implements OnInit, OnDestroy {
2424

25-
//added self query the same as done on profile page
2625
userResult: ApolloQueryResult<MeQuery>;
27-
2826
personsResult: ApolloQueryResult<UsersPeopleQuery>;
2927
filteredPersons: ApolloQueryResult<UsersPeopleQuery>;
3028
alphabetizedPersons: AlphabetMapOfUsers;
@@ -140,12 +138,10 @@ export class PeoplePage implements OnInit, OnDestroy {
140138
});
141139
}
142140

143-
// Added navigation to profile page from people page. Is this the best way?
144141
async goToProfilePage() {
145142
this.navCtrl.navigateForward('tabs/profile');
146143
}
147144

148-
149145
async filterPeople(ev: any) {
150146
this.filter = ev?.target?.value;
151147
if (this.filter && this.filter?.trim() !== '') {

src/app/pages/tabs/tabs.page.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,5 @@
2929
<ion-tab-button tab="notifications" *ngIf="environment.featureFlags.notificationsPage">
3030
<ion-icon color="dark" name="notifications"></ion-icon>
3131
</ion-tab-button>
32-
<!-- Why have this here? isMobile will always be false because it's in the not mobile block.
33-
<ion-tab-button tab="profile" *ngIf="isMobile()">
34-
<ion-icon color="dark" [name]="selectedTabName === 'profile' ? 'person' : 'person-outline'"></ion-icon>
35-
</ion-tab-button>
36-
-->
3732
</ion-tab-bar>
3833
</ion-tabs>

0 commit comments

Comments
 (0)