[Integration-Test] Add test for number of downloads, fixes #810
This commit is contained in:
parent
1bb1e8123f
commit
e9a9ead762
4 changed files with 31 additions and 3 deletions
|
@ -42,7 +42,8 @@ module.exports = function(state, emit) {
|
|||
}
|
||||
state.downloadCount = value;
|
||||
emit('render');
|
||||
}
|
||||
},
|
||||
'expire-after-dl-count-dropdown'
|
||||
),
|
||||
dlCountSelect
|
||||
);
|
||||
|
@ -68,7 +69,8 @@ module.exports = function(state, emit) {
|
|||
}
|
||||
state.timeLimit = value;
|
||||
emit('render');
|
||||
}
|
||||
},
|
||||
'expire-after-time-dropdown'
|
||||
),
|
||||
timeSelect
|
||||
);
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(selected, options, translate, changed) {
|
||||
module.exports = function(selected, options, translate, changed, htmlId) {
|
||||
let x = selected;
|
||||
|
||||
return html`
|
||||
<select
|
||||
id="${htmlId}"
|
||||
class="appearance-none cursor-pointer border rounded-sm bg-blue-lightest hover:border-blue focus:border-blue px-2 py-1 my-2 h-8"
|
||||
onchange="${choose}"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue