DEV: Automatically remove placeholder 'URL' metadata values from themes
This commit is contained in:
parent
77d26b9df6
commit
0d0ca4f070
|
@ -437,6 +437,7 @@ class Theme < ActiveRecord::Base
|
|||
|
||||
RemoteTheme::METADATA_PROPERTIES.each do |property|
|
||||
meta[property] = remote_theme&.public_send(property)
|
||||
meta[property] = nil if meta[property] == "URL" # Clean up old discourse_theme CLI placeholders
|
||||
end
|
||||
|
||||
meta[:assets] = {}.tap do |hash|
|
||||
|
|
Loading…
Reference in New Issue