diff --git a/day3/README.md b/day3/README.md index fe29505..a1537fd 100644 --- a/day3/README.md +++ b/day3/README.md @@ -388,3 +388,12 @@ and: ```html
  • ``` + +You might notice that "Search Results" is always displayed even when there are no results. Let's change that: + +```html +
    +

    Search Results

    +``` + +Now the `h2` subscribes to the observable and tests to see if there are values in it diff --git a/day3/starwars/src/app/search/search.component.html b/day3/starwars/src/app/search/search.component.html index 14d2e5d..ca192ea 100644 --- a/day3/starwars/src/app/search/search.component.html +++ b/day3/starwars/src/app/search/search.component.html @@ -2,8 +2,8 @@

    Search For A Star Wars Character

    -
    -

    Search Results

    +
    +

    Search Results

    • {{character.name}}