0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Bugfix theme admin

Dieser Commit ist enthalten in:
Angus McLeod 2017-12-17 12:04:31 +08:00
Ursprung a4875f2214
Commit e2aa55b4b2

Datei anzeigen

@ -11,7 +11,8 @@ class CustomWizard::Template
:after_signup, :after_signup,
:after_time, :after_time,
:after_time_scheduled, :after_time_scheduled,
:required :required,
:theme_key
def initialize(data) def initialize(data)
data = data.is_a?(String) ? ::JSON.parse(data) : data data = data.is_a?(String) ? ::JSON.parse(data) : data
@ -27,5 +28,6 @@ class CustomWizard::Template
@after_time = data['after_time'] @after_time = data['after_time']
@after_time_scheduled = data['after_time_scheduled'] @after_time_scheduled = data['after_time_scheduled']
@required = data['required'] || false @required = data['required'] || false
@theme_key = data['theme_key']
end end
end end