5-save-rules #15

Merged
romanov73 merged 13 commits from 5-save-rules into master 2025-02-24 21:26:14 +04:00
Showing only changes of commit 746da497de - Show all commits

View File

@ -78,7 +78,8 @@
<span class="badge badge-danger">И / ИЛИ</span>
</div>-->
</div>
<a th:href="@{'/rule/edit/' + ${projectId}+'/0'}" class="btn btn-outline-dark">Добавить правило</a>
<a th:href="@{'/rule/edit/' + ${projectId}+'/0'}" th:if="${not #lists.isEmpty(variables)}"
class="btn btn-outline-dark">Добавить правило</a>
</div>
</div>