adminforth 2.54.0-next.4 → 2.54.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
File without changes
|
|
@@ -366,7 +366,7 @@ async function writeTemplateFiles(dirname, cwd, useNpm, includePrismaMigrations,
|
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
// We'll write .env using the same content as .env.sample
|
|
369
|
-
src: '.env.
|
|
369
|
+
src: '.env.hbs',
|
|
370
370
|
dest: '.env',
|
|
371
371
|
data: {dbUrl, prismaDbUrl},
|
|
372
372
|
},
|
|
@@ -136,11 +136,18 @@
|
|
|
136
136
|
>
|
|
137
137
|
<IconFilterOutline class="w-4 h-4"/>
|
|
138
138
|
{{ $t('Filter') }}
|
|
139
|
-
<
|
|
140
|
-
class="bg-red-100 text-red-800 text-xs font-medium
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
<div v-if="filtersStore.visibleFiltersCount" class="flex items-center gap-1 ms-1">
|
|
140
|
+
<span class="bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded dark:bg-gray-700 dark:text-red-400 border border-red-400">
|
|
141
|
+
{{ filtersStore.visibleFiltersCount }}
|
|
142
|
+
</span>
|
|
143
|
+
|
|
144
|
+
<div
|
|
145
|
+
@click.stop="filtersStore.clearFilters()"
|
|
146
|
+
class="p-0.5 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-md transition-colors"
|
|
147
|
+
>
|
|
148
|
+
<IconCloseOutline class="w-4 h-4 text-red-500" />
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
144
151
|
</button>
|
|
145
152
|
|
|
146
153
|
<ThreeDotsMenu
|
|
@@ -230,7 +237,8 @@ import { useI18n } from 'vue-i18n';
|
|
|
230
237
|
import {
|
|
231
238
|
IconBanOutline,
|
|
232
239
|
IconFilterOutline,
|
|
233
|
-
IconPlusOutline
|
|
240
|
+
IconPlusOutline,
|
|
241
|
+
IconCloseOutline
|
|
234
242
|
} from '@iconify-prerendered/vue-flowbite';
|
|
235
243
|
|
|
236
244
|
import Filters from '@/components/Filters.vue';
|