Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-19 18:10:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-19 18:10:26 +0300
commit50c1832e0f46aec002a98fff39e7f0873b7e152a (patch)
tree13b87be847eb98d9d8621a71ace47d48b0c00bf3
parent67fe4525c45120a7241f880b23e3db26f14aa982 (diff)
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--app/helpers/vite_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/vite_helper.rb b/app/helpers/vite_helper.rb
index cf9a5008a69..adb9ffa39e0 100644
--- a/app/helpers/vite_helper.rb
+++ b/app/helpers/vite_helper.rb
@@ -5,7 +5,7 @@ module ViteHelper
# vite is not production ready yet
return false if Rails.env.production?
# Enable vite if explicitly turned on in the GDK
- return Gitlab::Utils.to_boolean(ViteRuby.env['VITE_ENABLED'], false) if ViteRuby.env.key?('VITE_ENABLED')
+ return Gitlab::Utils.to_boolean(ViteRuby.env['VITE_ENABLED'], default: false) if ViteRuby.env.key?('VITE_ENABLED')
# Enable vite the legacy way (in case GDK hasn't been updated)
# This is going to be removed with https://gitlab.com/gitlab-org/gitlab/-/issues/431041