From 64cbfdb7e854f3dcaa3b49ff73ffb3d5ee326f1c Mon Sep 17 00:00:00 2001 From: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:41:02 +0600 Subject: [PATCH] minor table loading fix again (#1586) Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com> --- plugins/view-resources/src/components/Table.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } )