Commit bb43d4d464dbd9a528a13884a77f542557f21e56
add auto-complete for patch-book link in search bar
mix irving committed on 11/3/2017, 7:39:20 AMParent: 4e7595f39e99a7d6e323c3979b181a737cfb8baa
Files changed
app/html/search-bar.js | changed |
app/html/search-bar.js | ||
---|---|---|
@@ -75,9 +75,9 @@ | ||
75 | 75 … | // TODO extract |
76 | 76 … | function getPagesSuggestions (word) { |
77 | 77 … | const pages = [ |
78 | 78 … | 'public', 'private', 'inbox', 'profile', 'notifications', |
79 | - 'gatherings', 'chess' | |
79 … | + 'gatherings', 'chess', 'books' | |
80 | 80 … | ] |
81 | 81 … | |
82 | 82 … | return pages |
83 | 83 … | .filter(page => ~page.indexOf(word)) |
Built with git-ssb-web