fix: make edition annotation work again

This commit is contained in:
simon lehericey 2022-07-12 13:56:32 +02:00
parent 28a18e3912
commit 6f7fb9841c
4 changed files with 18 additions and 20 deletions

View file

@ -197,14 +197,6 @@ class ProcedureRevision < ApplicationRecord
revision_types_de_champ.find_by!(type_de_champ: tdc)
end
def upper_coordinates(position)
revision_types_de_champ_public.filter { |c| c.position < position }
end
def coordinates_starting_at(position)
revision_types_de_champ_public.reload.filter { |c| position <= c.position }
end
private
def compute_estimated_fill_duration