fix(editor): always render add champ button

This commit is contained in:
Paul Chavard 2023-10-19 15:43:35 +02:00
parent 5a11ef783a
commit 03dd6218f8

View file

@ -2,6 +2,5 @@
.types-de-champ-editor.editor-root
= render TypesDeChampEditor::ErrorsSummary.new(revision: @revision)
= render TypesDeChampEditor::BlockComponent.new(block: @revision, coordinates: coordinates)
- if coordinates.empty?
#empty-coordinates
#empty-coordinates{ hidden: coordinates.present? }
= render TypesDeChampEditor::AddChampButtonComponent.new(revision: @revision, is_annotation: annotations?)