fix(editor): always render add champ button
This commit is contained in:
parent
5a11ef783a
commit
03dd6218f8
1 changed files with 2 additions and 3 deletions
|
@ -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?)
|
||||
|
|
Loading…
Reference in a new issue