Finding channel by destination directory if any.

This commit is contained in:
Roland 2022-11-09 08:54:56 -07:00
parent f1bc29d76f
commit ddb35448aa
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
5 changed files with 17 additions and 18 deletions

View file

@ -39,7 +39,8 @@ function VideoPage({videoFile, prevFile, nextFile, setFavorite, ...props}) {
const handleDeleteVideo = async (video_id) => {
try {
await deleteVideos(video_id)
await deleteVideos([video_id])
setDeleteOpen(false);
} catch (e) {
setDeleteOpen(false);
throw e;