check capabilities.account before showing upsell button
This commit is contained in:
parent
15704cb6dc
commit
163899467d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue