Commit e1382c3e4f1054d837686ee331f68fe178dca82c
#178 - fix white screen on startup (caused by missing default filter)
Matt McKegg committed on 2/20/2018, 10:55:00 PMParent: 084946f795412a5d314bb4c3f4848d887219c041
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