From 547c7cfa01e012bca67a119316cc8c1cc5e7ea63 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Fri, 15 Nov 2024 12:19:47 -0500 Subject: [PATCH] import files/index.js as a module to avoid minified collisions --- apps/dashboard/app/views/layouts/files.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/app/views/layouts/files.html.erb b/apps/dashboard/app/views/layouts/files.html.erb index c82ad8412d..2d82e5dbb3 100644 --- a/apps/dashboard/app/views/layouts/files.html.erb +++ b/apps/dashboard/app/views/layouts/files.html.erb @@ -1,6 +1,6 @@ <% content_for :head do - javascript_include_tag 'files/index', nonce: true + javascript_include_tag('files/index', nonce: true, type: 'module') end %>