fix: Use page_title with fallback to name for portal display titles (#13719)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user