generated from Klectr/KTemplate
fix(image): delete image wasnt updating storage
This commit is contained in:
parent
98fc00bac1
commit
be10f376f4
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user