mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Update sidebar to be navigation menu (#22101)
Communities can use sidebar or header dropdown, therefore navigation menu is a better name settings in 2 places: - Old user sidebar preferences; - Site setting about default tags and categories.
This commit is contained in:
committed by
GitHub
parent
be7d82d2b0
commit
2effcaa0f9
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RenameDefaultSidebarCategoriesSetting < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
execute "UPDATE site_settings SET name = 'default_navigation_menu_categories' WHERE name = 'default_sidebar_categories'"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RenameDefaultSidebarTagsSetting < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
execute "UPDATE site_settings SET name = 'default_navigation_menu_tags' WHERE name = 'default_sidebar_tags'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user