fix: Use page_title with fallback to name for portal display titles (#13719)

This commit is contained in:
Sivin Varghese
2026-03-05 14:20:31 +05:30
committed by GitHub
parent 42a244369d
commit 3ea5f258a4
5 changed files with 10 additions and 6 deletions

View File

@@ -68,6 +68,10 @@ class Portal < ApplicationRecord
self[:color].presence || DEFAULT_COLOR
end
def display_title
page_title.presence || name
end
private
def config_json_format