Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 41e28b6

Browse files
authored
Update step_06.ngdoc
1 parent 7238d6d commit 41e28b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/content/tutorial/step_06.ngdoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,8 @@ You can now rerun `npm run protractor` to see the tests run.
230230

231231
* Reverse the sort order by adding a `-` symbol before the sorting value:
232232
`<option value="-age">Oldest</option>`
233-
Upon refreshing the page, you'll see that the default selection of the "age" option in "Sort by" is blank again.
234-
Try fixing this in **`app/phone-list/phone-list.component.js`:**
235-
233+
After making this change, you'll notice that the drop-down list has a blank option selected and does not default to age anymore.
234+
Fix this by updating the `orderProp` value in `phone-list.component.js` to match the new value on the `<option>` element.
236235

237236

238237
## Summary

0 commit comments

Comments
 (0)