mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-10 12:15:34 +00:00
added account to capabilities
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user