fix download indicator
This commit is contained in:
@@ -212,9 +212,9 @@ export default {
|
|||||||
fileRequests.reduce(
|
fileRequests.reduce(
|
||||||
(prevPromise, request) => prevPromise.then(() => request()),
|
(prevPromise, request) => prevPromise.then(() => request()),
|
||||||
Promise.resolve()
|
Promise.resolve()
|
||||||
)
|
).finally(() => {
|
||||||
|
this.isDownloading = false
|
||||||
this.isDownloading = false
|
})
|
||||||
},
|
},
|
||||||
sanitizeHref (href) {
|
sanitizeHref (href) {
|
||||||
if (href && href.trim().match(/^((?:https?:\/\/)|\/)/)) {
|
if (href && href.trim().match(/^((?:https?:\/\/)|\/)/)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user