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:
Ursprung
a4875f2214
Commit
e2aa55b4b2
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren