diff --git a/core/static/bundled/alpine-index.js b/core/static/bundled/alpine-index.js index 62d00178..daed0b27 100644 --- a/core/static/bundled/alpine-index.js +++ b/core/static/bundled/alpine-index.js @@ -1,9 +1,9 @@ -import { alpinePlugin } from "#core:utils/notifications"; +import { alpinePlugin as notificationPlugin } from "#core:utils/notifications"; import sort from "@alpinejs/sort"; import Alpine from "alpinejs"; Alpine.plugin(sort); -Alpine.magic("notifications", alpinePlugin); +Alpine.magic("notifications", notificationPlugin); window.Alpine = Alpine; window.addEventListener("DOMContentLoaded", () => { diff --git a/core/templates/core/base/notifications.jinja b/core/templates/core/base/notifications.jinja index b50ec89f..f941a1a6 100644 --- a/core/templates/core/base/notifications.jinja +++ b/core/templates/core/base/notifications.jinja @@ -13,10 +13,10 @@ }" @quick-notification-add="(e) => messages.push(e?.detail)" @quick-notification-delete="messages = []"> -