mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
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…
x
Reference in New Issue
Block a user