From d6ac469e1a9a5b8645744e8248515319143fe62c Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 19 May 2021 05:13:47 -0400 Subject: [PATCH] remove signup-cta and tweak console log wording to remove anon user references --- app/ui/expiryOptions.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/ui/expiryOptions.js b/app/ui/expiryOptions.js index 149e2636..2ee489f7 100644 --- a/app/ui/expiryOptions.js +++ b/app/ui/expiryOptions.js @@ -35,8 +35,7 @@ module.exports = function(state, emit) { state.archive.dlimit = selected; emit('render'); if (selected > parseInt(state.user.maxDownloads || '0')) { - console.log('Chosen max download count is larger than the allowed limit for anonymous users', selected) - emit('signup-cta', 'count'); + console.log('Chosen max download count is larger than the allowed limit', selected) } }, 'expire-after-dl-count-select' @@ -62,8 +61,7 @@ module.exports = function(state, emit) { state.archive.timeLimit = selected; emit('render'); if (selected > parseInt(state.user.maxExpireSeconds || '0')) { - console.log('Chosen download expiration is larger than the allowed limit for anonymous users', selected) - emit('signup-cta', 'time'); + console.log('Chosen download expiration is larger than the allowed limit', selected) } }, 'expire-after-time-select'