diff --git a/src/app/components/navbar/navbar.html b/src/app/components/navbar/navbar.html index dc6691c..3e034c0 100644 --- a/src/app/components/navbar/navbar.html +++ b/src/app/components/navbar/navbar.html @@ -1,3 +1,5 @@ + + diff --git a/src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts b/src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts index 81cfbe8..550da65 100644 --- a/src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts +++ b/src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts @@ -26,7 +26,7 @@ export class ProfileContentsSearch { search() { console.log(this.profile.id); - var profileId = 53; //FIXME + var profileId = this.profile.id; //FIXME var params = this.defaultParams; this.articleService.getByProfile(profileId, params).then((response: any) => { this.members = response.data.people; diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts index ea9f84c..91a113d 100644 --- a/src/app/main/main.component.ts +++ b/src/app/main/main.component.ts @@ -45,7 +45,7 @@ export class MainContent { @StateConfig([ { url: '/', - component: ProfileContentsSearch, + component: MainContent, name: 'main', }, { -- libgit2 0.21.2