clear active preview when last history item is deleted
This commit is contained in:
parent
d439eceedc
commit
96436357eb
@ -530,6 +530,7 @@ const removeHistoryItem = (index: number) => {
|
||||
|
||||
if (historyList.value.length === 0) {
|
||||
currentHistoryIndex.value = -1
|
||||
resetUpload()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user