fix: Added "None" option in bulk actions assignment menu (#5585)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Tejaswini Chile
2022-10-12 02:14:35 +05:30
committed by GitHub
parent 0b5a956e05
commit 7419e413f4
5 changed files with 79 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ class BulkActionsJob < ApplicationJob
def available_params(params)
return unless params[:fields]
params[:fields].delete_if { |_k, v| v.nil? }
params[:fields].delete_if { |key, value| value.nil? && key == 'status' }
end
def bulk_add_labels(conversation)