update
This commit is contained in:
@@ -7,8 +7,7 @@ class MatchAppearanceReleasesJob < ApplicationJob
|
||||
filtered_attachments_object = filter_attachments attachments
|
||||
|
||||
if filtered_attachments_object[:keys].blank?
|
||||
notification = I18n.t 'appearance_releases.create.matching_failed'
|
||||
ProjectsChannel.appearance_matching_flash_message project, notification, :alert
|
||||
ProjectsChannel.appearance_matching_flash_message project, failed_message, :alert
|
||||
return
|
||||
end
|
||||
|
||||
@@ -123,4 +122,8 @@ class MatchAppearanceReleasesJob < ApplicationJob
|
||||
def success_message
|
||||
I18n.t 'appearance_releases.create.matching_completed'
|
||||
end
|
||||
|
||||
def failed_message
|
||||
I18n.t 'appearance_releases.create.matching_failed'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user