git ssb

2+

mixmix / ticktack



Commit 71dbadafffeb775edb0eb90985feeac67464d988

fix side nav D:

mix irving committed on 2/5/2018, 6:57:52 AM
Parent: 72426349b2d15c7fbeb12396a535978cbcc0b4b0

Files changed

app/html/sideNav/sideNavDiscovery.jschanged
app/html/sideNav/sideNavDiscovery.jsView
@@ -137,9 +137,9 @@
137137 imageEl: h('i', [
138138 h('img', { src: path.join(__dirname, '../../../assets', 'discover.png') })
139139 ]),
140140 label: "My subscriptions",
141- selected: isDiscoverSideNav(location),
141+ selected: location.page === 'channelSubscriptions' && !location.scope,
142142 location: { page: 'channelSubscriptions', scope: 'user' },
143143 }),
144144
145145 // Friends subscriptions
@@ -147,9 +147,9 @@
147147 imageEl: h('i', [
148148 h('img', { src: path.join(__dirname, '../../../assets', 'discover.png') })
149149 ]),
150150 label: "Friends subscriptions",
151- selected: isDiscoverSideNav(location),
151+ selected: location.page === 'channelSubscriptions' && location.scope === 'friends',
152152 location: { page: 'channelSubscriptions', scope: 'friends' },
153153 })
154154 ]
155155

Built with git-ssb-web