mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
fix: error icon not showing for url upload errors
This commit is contained in:
parent
e9d22ea3ea
commit
a37057e099
@ -629,6 +629,8 @@ page.processUrlsQueue = () => {
|
||||
|
||||
file.previewElement.querySelector('.error').innerHTML = data.description
|
||||
file.previewElement.querySelector('.error').classList.remove('is-hidden')
|
||||
|
||||
page.updateTemplateIcon(file.previewElement, 'icon-block')
|
||||
}
|
||||
|
||||
if (Array.isArray(data.files) && data.files[0]) {
|
||||
|
Loading…
Reference in New Issue
Block a user