remove uploaded files page fixed

there was a minor bug that was preventing uploaded files to be removed
from the editor page even thought the remove button was pressed.

found and fixed
This commit is contained in:
ro 2024-09-04 14:52:52 -06:00
parent c85e145774
commit a7354da38f
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -250,7 +250,8 @@ export default class FileManager {
// event handlers
//--------------------------
removeFile(e) {
var item = e.target.parentNode.parentNode;
var item = e.target.parentNode;
console.log('ITEM', item);
switch (item.className) {
case 'img-item':
case 'video-item':