remove download cancel button while decrypting
This commit is contained in:
parent
dbfae53222
commit
2292267e39
4 changed files with 22 additions and 18 deletions
|
@ -46,7 +46,7 @@ module.exports = function(state, emit) {
|
|||
let pageAction = null; //default state: we don't have file metadata
|
||||
if (state.transfer) {
|
||||
const s = state.transfer.state;
|
||||
if (s === 'downloading' || s === 'complete') {
|
||||
if (['downloading', 'decrypting', 'complete'].indexOf(s) > -1) {
|
||||
// Downloading is in progress
|
||||
return download(state, emit);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue