various improvements (#2671)

* improve oauth config logic

* expire pending login

* move sort to backend
This commit is contained in:
Bernd Storath
2026-06-18 11:14:20 +02:00
committed by GitHub
parent 032347648d
commit e7ea65a898
17 changed files with 144 additions and 147 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<BasePrimaryButton @click="toggleSort">
<IconsArrowDown v-if="globalStore.sortClient === true" class="mr-2 w-4" />
<IconsArrowDown v-if="globalStore.sortClient === 'asc'" class="mr-2 w-4" />
<IconsArrowUp v-else class="mr-2 w-4" />
<span class="text-sm">{{ $t('client.sort') }}</span>
</BasePrimaryButton>
@@ -11,7 +11,7 @@ const globalStore = useGlobalStore();
const clientsStore = useClientsStore();
function toggleSort() {
globalStore.sortClient = !globalStore.sortClient;
globalStore.sortClient = globalStore.sortClient === 'asc' ? 'desc' : 'asc';
clientsStore.refresh().catch(console.error);
}
</script>