We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aacf3aa commit bd631f1Copy full SHA for bd631f1
app/models/concerns/project_media_creators.rb
@@ -133,12 +133,10 @@ def set_media_type
133
else
134
self.media_type = 'Link'
135
end
136
- elsif original_claim
+ elsif original_claim || self.quote.present?
137
self.media_type = 'Claim'
138
- elsif !self.url.blank?
+ elsif self.url.present?
139
140
- elsif !self.quote.blank?
141
- self.media_type = 'Claim'
142
143
144
0 commit comments