Hide flash messages during development

This commit is contained in:
Tristan Daniël Maat 2022-08-06 19:34:28 +01:00
parent 594e9bcbfd
commit 02d0e5142b
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 27 additions and 13 deletions
src/lib/html

View file

@ -1,6 +1,8 @@
{{#if flash}}
<div class="notification is-{{flash.type}}">
<button class="delete" aria-label="Close"></button>
<span role="alert"> {{ flash.message }} </span>
</div>
{{/if}}
<span>
{{#if flash}}
<div class="notification is-{{flash.type}}">
<button class="delete" aria-label="Close"></button>
<span role="alert"> {{ flash.message }} </span>
</div>
{{/if}}
</span>