2022-08-13 15:12:31 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module WorkItems
|
|
|
|
module Widgets
|
|
|
|
class Assignees < Base
|
|
|
|
delegate :assignees, to: :work_item
|
|
|
|
delegate :allows_multiple_assignees?, to: :work_item
|
2023-04-23 21:23:45 +05:30
|
|
|
|
|
|
|
def self.quick_action_commands
|
|
|
|
[:assign, :unassign, :reassign]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.quick_action_params
|
|
|
|
[:assignee_ids]
|
|
|
|
end
|
2022-08-13 15:12:31 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|