Skip to content

Commit

Permalink
Merge pull request #49 from breadlesscode/master
Browse files Browse the repository at this point in the history
fix: hide button if vocabulary is auto created
  • Loading branch information
mficzel authored Oct 25, 2021
2 parents 6d6754b + 9f3a083 commit 11ff2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Module/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3>
<i class="fas fa-pencil-alt"></i>
</f:link.action>

<f:if condition="{vocabulary.autoCreated = false}" >
<f:if condition="!{vocabulary.node.autoCreated}" >
<button class="neos-button neos-button-danger" title="{f:translate(id: 'generic.delete')}" data-toggle="modal" href="#deleteVocabulary_{vocabulary.node.identifier}" data-neos-toggle="tooltip">
<i class="fas fa-trash-alt icon-white"></i>
</button>
Expand Down

0 comments on commit 11ff2a6

Please sign in to comment.