mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Fix bad check
This commit is contained in:
parent
9b16f83693
commit
825d4a5128
@ -215,7 +215,7 @@ ComunicWeb.components.movies.picker = {
|
|||||||
innerHTML: "Delete",
|
innerHTML: "Delete",
|
||||||
onclick: () => {
|
onclick: () => {
|
||||||
|
|
||||||
if(!ComunicWeb.common.messages.confirm("Do you really want to delete this movie ?", async res => {
|
ComunicWeb.common.messages.confirm("Do you really want to delete this movie ?", async res => {
|
||||||
|
|
||||||
if(!res)
|
if(!res)
|
||||||
return;
|
return;
|
||||||
@ -228,7 +228,7 @@ ComunicWeb.components.movies.picker = {
|
|||||||
notify("Could not delete movie!", "danger");
|
notify("Could not delete movie!", "danger");
|
||||||
}
|
}
|
||||||
|
|
||||||
}));
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user