mirror of
https://github.com/discourse/discourse.git
synced 2025-08-21 19:11:18 +08:00
oops
This commit is contained in:
parent
342ef5f81a
commit
dbb6e461aa
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ if !Theme.exists?
|
|||
STDERR.puts "> Seeding dark and light themes"
|
||||
|
||||
name = I18n.t("wizard.step.colors.fields.theme_id.choices.dark.label")
|
||||
dark_scheme = ColorScheme.where.find_by(base_scheme_id: "dark")
|
||||
dark_scheme = ColorScheme.find_by(base_scheme_id: "dark")
|
||||
dark_scheme ||= ColorScheme.create_from_base(name: name, via_wizard: true, base_scheme_id: "dark")
|
||||
|
||||
name = I18n.t('color_schemes.dark_theme_name')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue