mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-09 19:55:34 +00:00
refactored code/tests around download tests
This commit is contained in:
@@ -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')}"/>
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user