un array vacío por defecto

closes #774
This commit is contained in:
f 2021-03-23 11:35:49 -03:00
parent 891bb4db3f
commit 85efaf988a

View file

@ -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':