check capabilities.account before showing upsell button

This commit is contained in:
Danny Coates 2019-03-11 19:02:44 -07:00
parent 15704cb6dc
commit 163899467d
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 16 additions and 15 deletions

View File

@ -412,7 +412,8 @@ module.exports.uploading = function(state, emit) {
};
module.exports.empty = function(state, emit) {
const upsell = state.user.loggedIn
const upsell =
state.user.loggedIn || !state.capabilities.account
? ''
: html`
<button