added account to capabilities
This commit is contained in:
parent
3a162d47c5
commit
942457b357
5 changed files with 14 additions and 9 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue