Update dependencies

This commit is contained in:
2024-10-05 17:55:58 +01:00
parent 485f58c61d
commit 68eff11fdc
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
"destination": "wwwroot/lib/inter/"
},
{
"library": "@hotwired/turbo@8.0.4",
"library": "@hotwired/turbo@8.0.10",
"destination": "wwwroot/lib/hotwired/turbo/"
},
{

View File

@ -13,7 +13,7 @@ export default class ModalController extends Controller {
if (!this.element.open) {
return;
}
if (event.type === "turbo:submit-end" && (event.detail.formSubmission.method === "get" || !event.detail.success)) {
if (event.type === "turbo:submit-end" && (event.detail.formSubmission.method === "GET" || !event.detail.success)) {
// Don't close modal if form method was GET or submission failed
return;
}