mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix(WatchLater): display nothing after clearing watched items (#817)
close #817
This commit is contained in:
@@ -106,7 +106,7 @@ function handleClearAllWatchLater() {
|
||||
csrf: getCSRF(),
|
||||
}).then((res) => {
|
||||
if (res.code === 0)
|
||||
getAllWatchLaterList()
|
||||
initData()
|
||||
}).finally(() => {
|
||||
isLoading.value = false
|
||||
})
|
||||
@@ -124,7 +124,7 @@ function handleRemoveWatchedVideos() {
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code === 0)
|
||||
getAllWatchLaterList()
|
||||
initData()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user