Fix incorrect value registration in stimulus controller

This commit is contained in:
Björn Fromme
2023-01-30 16:57:56 +01:00
parent 8386518527
commit 66c2acce2b
@@ -2,7 +2,7 @@ import { Controller } from 'stimulus'
export default class extends Controller {
static values = [ 'event' ]
static values = { event: String }
trigger() {
window.dataLayer = window.dataLayer || []