fix: hides search bar when download list is widget
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
<div{{ attributes.defaults(stimulus_controller('download_list')) }} class="min-w-48" >
|
<div{{ attributes.defaults(stimulus_controller('download_list')) }} class="min-w-48" >
|
||||||
{% set table_body_id = (type == "complete") ? "complete_downloads" : "active_downloads" %}
|
{% set table_body_id = (type == "complete") ? "complete_downloads" : "active_downloads" %}
|
||||||
<div class="flex flex-row mb-2">
|
|
||||||
<twig:DownloadSearch search_path="app_search" placeholder="Find one of your downloads..." />
|
{% if this.isWidget == false %}
|
||||||
</div>
|
<div class="flex flex-row mb-2">
|
||||||
|
<twig:DownloadSearch search_path="app_search" placeholder="Find one of your downloads..." />
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<table id="downloads" class="divide-y divide-gray-200 bg-gray-50 overflow-hidden rounded-lg table-auto w-full" {{ turbo_stream_listen('App\\Download\\Framework\\Entity\\Download') }}>
|
<table id="downloads" class="divide-y divide-gray-200 bg-gray-50 overflow-hidden rounded-lg table-auto w-full" {{ turbo_stream_listen('App\\Download\\Framework\\Entity\\Download') }}>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg-orange-500 bg-filter bg-blur-lg bg-opacity-80 text-gray-950">
|
<tr class="bg-orange-500 bg-filter bg-blur-lg bg-opacity-80 text-gray-950">
|
||||||
|
|||||||
Reference in New Issue
Block a user