refactored code/tests around download tests

This commit is contained in:
Danny Coates 2019-01-09 17:25:43 -08:00
parent 6fdb5f4f9f
commit 6cc374865e
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 11 additions and 11 deletions

View file

@ -142,7 +142,7 @@ function archiveDetails(translate, archive) {
module.exports = function(state, emit, archive) {
return html`
<article
id="${archive.id}"
id="archive-${archive.id}"
class="flex flex-col items-start border border-grey-light bg-white p-4 w-full">
<p class="w-full">
<img class="float-left mr-3" src="${assets.get('blue_file.svg')}"/>

View file

@ -43,7 +43,7 @@ module.exports = function(state, emit) {
state.downloadCount = value;
emit('render');
},
'expire-after-dl-count-dropdown'
'expire-after-dl-count-select'
),
dlCountSelect
);
@ -70,7 +70,7 @@ module.exports = function(state, emit) {
state.timeLimit = value;
emit('render');
},
'expire-after-time-dropdown'
'expire-after-time-select'
),
timeSelect
);