2022-07-23 23:45:48 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module WorkItems
|
|
|
|
module Widgets
|
|
|
|
class Description < Base
|
2022-10-11 01:57:18 +05:30
|
|
|
delegate :description, :edited?, :last_edited_at, to: :work_item
|
|
|
|
|
|
|
|
def last_edited_by
|
|
|
|
return unless work_item.edited?
|
|
|
|
|
|
|
|
work_item.last_edited_by
|
|
|
|
end
|
2022-07-23 23:45:48 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|