mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Finding channel by destination directory if any.
This commit is contained in:
parent
f1bc29d76f
commit
ddb35448aa
5 changed files with 17 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue