mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
check capabilities.account before showing upsell button
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user