summaryrefslogtreecommitdiff
path: root/app/helpers/appearances_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/appearances_helper.rb')
-rw-r--r--app/helpers/appearances_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/appearances_helper.rb b/app/helpers/appearances_helper.rb
index 9a323852996..ab743e27603 100644
--- a/app/helpers/appearances_helper.rb
+++ b/app/helpers/appearances_helper.rb
@@ -4,6 +4,10 @@ module AppearancesHelper
include MarkupHelper
include Gitlab::Utils::StrongMemoize
+ def appearance_short_name
+ Appearance.current&.pwa_short_name.presence || _('GitLab')
+ end
+
def brand_title
current_appearance&.title.presence || default_brand_title
end