diff --git a/assets/js/app.js b/assets/js/app.js index 2c29f7b8..9d01f5ea 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -158,7 +158,7 @@ Hooks.StoreRecentBrainstorming = { Hooks.RemoveMissingBrainstorming = { mounted() { - const missingId = this.el.dataset.missingId; + const missingId = this.el.dataset.brainstormingId; if (missingId) { const recentBrainstormings = JSON.parse(localStorage.getItem('brainstormings') || '{}'); delete recentBrainstormings[missingId] diff --git a/lib/mindwendel_web/templates/layout/app_static.html.heex b/lib/mindwendel_web/templates/layout/app_static.html.heex index 329efb01..b7561e82 100644 --- a/lib/mindwendel_web/templates/layout/app_static.html.heex +++ b/lib/mindwendel_web/templates/layout/app_static.html.heex @@ -1,4 +1,4 @@ -
+
<%= if Phoenix.Flash.get(@flash, :info) do %>