mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 16:48:03 +08:00
UX: Hide welcome topic from admins as well if not edited (#18807)
Depends on: #18806 We have a banner that prompts to edit the welcome topic, so let's not show it in the topic list until it has been edited. Previously this banner covered the welcome topic, now the banner will be above the topic list, so we need to hide the welcome topic.
This commit is contained in:
@ -30,7 +30,6 @@ module TopicQueryParams
|
||||
|
||||
def hide_welcome_topic?
|
||||
return false if !SiteSetting.bootstrap_mode_enabled
|
||||
return false if @guardian.is_admin?
|
||||
Site.welcome_topic_exists_and_is_not_edited?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user