Commit 108de8043408703c7da2852d767da06869444e3b
Merge pull request #181 from ssbc/fix-filter-defaults
#178 - fix white screen on startup (caused by missing default filter)mix irving authored on 3/11/2018, 11:01:40 AM
GitHub committed on 3/11/2018, 11:01:40 AM
Parent: cdbc61e108d53d33bc2c5f6160c2c557d17808db
Parent: e1382c3e4f1054d837686ee331f68fe178dca82c
Files changed
app/html/filter.js | changed |
app/html/filter.js | |||
---|---|---|---|
@@ -30,9 +30,9 @@ | |||
30 | 30 … | const peopleIFollow = api.contact.obs.following(myId) | |
31 | 31 … | ||
32 | 32 … | const { set } = api.settings.sync | |
33 | 33 … | ||
34 | - const filterSettings = api.settings.obs.get('filter') | ||
34 … | + const filterSettings = api.settings.obs.get('filter', {exclude: {}}) | ||
35 | 35 … | ||
36 | 36 … | const channelInput = h('input', | |
37 | 37 … | { value: filterSettings().exclude.channels, | |
38 | 38 … | 'ev-keyup': (ev) => { |
Built with git-ssb-web