Commit 44ee8e35ce7fe82704e5da73f32c141dc4febe0f

Authored by Evandro Junior
1 parent bfb5450d
Exists in profile_search

showing search input

src/app/components/navbar/navbar.html
  1 +<noosfero-profile-contents-search-block></noosfero-profile-contents-search-block>
  2 +
1 3 <nav class="navbar navbar-static-top navbar-inverse">
2 4 <div class="container-fluid">
3 5 <div class="navbar-header">
... ...
src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts
... ... @@ -26,7 +26,7 @@ export class ProfileContentsSearch {
26 26  
27 27 search() {
28 28 console.log(this.profile.id);
29   - var profileId = 53; //FIXME
  29 + var profileId = this.profile.id; //FIXME
30 30 var params = this.defaultParams;
31 31 this.articleService.getByProfile(profileId, params).then((response: any) => {
32 32 this.members = response.data.people;
... ...
src/app/main/main.component.ts
... ... @@ -45,7 +45,7 @@ export class MainContent {
45 45 @StateConfig([
46 46 {
47 47 url: '/',
48   - component: ProfileContentsSearch,
  48 + component: MainContent,
49 49 name: 'main',
50 50 },
51 51 {
... ...