fix(image): delete image wasnt updating storage

This commit is contained in:
Triston Armstrong 2024-10-12 13:51:34 -04:00
parent 98fc00bac1
commit be10f376f4
Signed by: tristonarmstrong
GPG Key ID: A23B48AE45EB6EFE

View File

@ -93,6 +93,7 @@ export function ImageCard({ key: itemKey, data: item }: ImageCard.ImageCardProps
function _handleClose(_e: Event) { function _handleClose(_e: Event) {
ImagesSignal.default.removeImage(item.id) ImagesSignal.default.removeImage(item.id)
ImagesSignal.default.images.notify() ImagesSignal.default.images.notify()
debounceLSUpdate()
} }
function _handleMouseClick(e: MouseEvent) { function _handleMouseClick(e: MouseEvent) {