diff --git a/src/lib/components/admin/Users/UserList.svelte b/src/lib/components/admin/Users/UserList.svelte index fc94474ef6..9579d4dc0d 100644 --- a/src/lib/components/admin/Users/UserList.svelte +++ b/src/lib/components/admin/Users/UserList.svelte @@ -72,7 +72,7 @@ } }; - const sortState = (key) => + $: sortState = (key) => orderBy === key ? (direction === 'asc' ? 'ascending' : 'descending') : 'none'; const setSortKey = (key) => {