summaryrefslogtreecommitdiff
path: root/app/models/work_items/widgets/start_and_due_date.rb
blob: 22ef262534e748960d63c5763e728707729952d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module WorkItems
  module Widgets
    class StartAndDueDate < Base
      delegate :start_date, :due_date, to: :work_item

      def self.quick_action_commands
        [:due, :remove_due_date]
      end

      def self.quick_action_params
        [:due_date]
      end
    end
  end
end