parent
891bb4db3f
commit
85efaf988a
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ document.addEventListener("turbolinks:load", () => {
|
|||
const flash = document.querySelector<HTMLElement>('.js-flash')
|
||||
|
||||
if (flash) {
|
||||
const keys = JSON.parse(flash.dataset.keys || '')
|
||||
const keys = JSON.parse(flash.dataset.keys || '[]')
|
||||
|
||||
switch (flash.dataset.target) {
|
||||
case 'editor':
|
||||
|
|
Loading…
Reference in a new issue