added account to capabilities

This commit is contained in:
Danny Coates 2018-09-14 13:58:19 -07:00
parent 3a162d47c5
commit 942457b357
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 14 additions and 9 deletions

View file

@ -1,7 +1,7 @@
const html = require('choo/html');
module.exports = function(state) {
if (state.user.loggedIn) {
if (state.user.loggedIn || !state.capabilities.account) {
return null;
}
return html`