diff --git a/app/controllers/widgets_controller.rb b/app/controllers/widgets_controller.rb index c396de4ce..957203f16 100644 --- a/app/controllers/widgets_controller.rb +++ b/app/controllers/widgets_controller.rb @@ -11,7 +11,7 @@ class WidgetsController < ActionController::Base private def set_global_config - @global_config = GlobalConfig.get('LOGO_THUMBNAIL', 'INSTALLATION_NAME', 'WIDGET_BRAND_URL') + @global_config = GlobalConfig.get('LOGO_THUMBNAIL', 'BRAND_NAME', 'WIDGET_BRAND_URL') end def set_web_widget diff --git a/app/javascript/shared/store/globalConfig.js b/app/javascript/shared/store/globalConfig.js index 4b1e75162..c761781c6 100644 --- a/app/javascript/shared/store/globalConfig.js +++ b/app/javascript/shared/store/globalConfig.js @@ -1,6 +1,7 @@ const { APP_VERSION: appVersion, CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard, + BRAND_NAME: brandName, INSTALLATION_NAME: installationName, LOGO_THUMBNAIL: logoThumbnail, LOGO: logo, @@ -12,6 +13,7 @@ const { const state = { appVersion, createNewAccountFromDashboard, + brandName, installationName, logo, logoThumbnail, diff --git a/app/javascript/widget/components/Branding.vue b/app/javascript/widget/components/Branding.vue index 4c6c787bf..2c4e4fc35 100644 --- a/app/javascript/widget/components/Branding.vue +++ b/app/javascript/widget/components/Branding.vue @@ -1,18 +1,17 @@