diff --git a/plugins/view-resources/src/components/Table.svelte b/plugins/view-resources/src/components/Table.svelte index c1bb00bc9f..d945199c68 100644 --- a/plugins/view-resources/src/components/Table.svelte +++ b/plugins/view-resources/src/components/Table.svelte @@ -73,7 +73,7 @@ objects.sort((a, b) => -1 * sortOrder * sf(a, b)) } dispatch('content', objects) - loading-- + loading = loading === 1 ? 0 : -1 }, { sort: { [sortKey]: sortOrder }, limit: 200, ...options } )