Compare commits

...

1 Commits

Author SHA1 Message Date
8cd004db4a fix: hides search bar when download list is widget 2025-06-07 14:43:38 -05:00

View File

@@ -1,8 +1,12 @@
<div{{ attributes.defaults(stimulus_controller('download_list')) }} class="min-w-48" >
{% 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..." />
</div>
{% if this.isWidget == false %}
<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') }}>
<thead>
<tr class="bg-orange-500 bg-filter bg-blur-lg bg-opacity-80 text-gray-950">