remove signup-cta and tweak console log wording to remove anon user references
This commit is contained in:
parent
0ffc960523
commit
d6ac469e1a
1 changed files with 2 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue