refac
This commit is contained in:
@@ -82,6 +82,18 @@
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
{#if selectedActionIds.length > 0}
|
||||
<button
|
||||
type="button"
|
||||
class="py-0.5 text-xs text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"
|
||||
on:click={() => {
|
||||
selectedActionIds = [];
|
||||
}}
|
||||
>
|
||||
{$i18n.t('Disable all')}
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -82,6 +82,18 @@
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
{#if selectedFilters.length > 0}
|
||||
<button
|
||||
type="button"
|
||||
class="py-0.5 text-xs text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"
|
||||
on:click={() => {
|
||||
selectedFilterIds = [];
|
||||
}}
|
||||
>
|
||||
{$i18n.t('Disable all')}
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -90,6 +90,18 @@
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
{#if selectedFilterIds.length > 0}
|
||||
<button
|
||||
type="button"
|
||||
class="py-0.5 text-xs text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"
|
||||
on:click={() => {
|
||||
selectedFilterIds = [];
|
||||
}}
|
||||
>
|
||||
{$i18n.t('Disable all')}
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user