From 163899467d5601f23a0d5225ecb06b7577d0330a Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 11 Mar 2019 19:02:44 -0700 Subject: [PATCH] check capabilities.account before showing upsell button --- app/ui/archiveTile.js | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index 7ee5a83f..9842dcd4 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -412,21 +412,22 @@ module.exports.uploading = function(state, emit) { }; module.exports.empty = function(state, emit) { - const upsell = state.user.loggedIn - ? '' - : html` - - `; + const upsell = + state.user.loggedIn || !state.capabilities.account + ? '' + : html` + + `; return html`