mirror of https://github.com/logos-co/open-law.git
fix behavior on top collection level
This commit is contained in:
parent
6db1b6753b
commit
385e21190a
File diff suppressed because one or more lines are too long
|
@ -80,7 +80,12 @@
|
|||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div id="accordion-collapse-body-{{collection.id}}" class="hidden" aria-labelledby="accordion-collapse-heading-{{collection.id}}" >
|
||||
<div id="accordion-collapse-body-{{collection.id}}" class="pl-6 pb-6 {% if not has_permission(collection, Access.U) %}filter{% endif %}"
|
||||
data-dnd="dnd-sub-collection"
|
||||
data-book-id="{{book.id}}"
|
||||
data-entity-type="collection"
|
||||
data-entity-id="{{collection.id}}"
|
||||
aria-labelledby="accordion-collapse-heading-{{collection.id}}" >
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!-- prettier-ignore -->
|
||||
<div
|
||||
class="ml-6 {% if not has_permission(collection, Access.U) %}filter{% endif %}"
|
||||
class="pl-6 pb-1 {% if not has_permission(collection, Access.U) %}filter{% endif %}"
|
||||
{% if has_permission(collection, Access.U) %}data-dnd="dnd-sub-collection"{% endif %}
|
||||
{% if collection %}
|
||||
data-entity-type="collection"
|
||||
|
|
Loading…
Reference in New Issue