From 6e4c4930cbca4944e7bf614f27de2d1b183fd4c6 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 8 Oct 2026 14:46:14 -0400 Subject: [PATCH] DRY pass #2, batch 5, F16: the admin lists load through useLoad (#5372) Accounts, groups, invites and activity each wrote the same first load: clear the error, try, put the server's reason or a fallback in error, and stop loading. useLoad (composables/useAction.ts) is that, and its load() is also the retry. Kept: ShareDialog and Settings. Their load sets loading back to true on a reload, which the lists never did, so moving them would change what a retry shows. Co-Authored-By: Claude Opus 5.5 --- frontend/src/components/AccountList.vue | 19 ++++------------ frontend/src/components/ActivityList.vue | 21 +++++------------ frontend/src/components/GroupList.vue | 29 ++++++++---------------- frontend/src/components/InviteList.vue | 18 ++++----------- frontend/src/composables/useAction.ts | 20 ++++++++++++++++ 5 files changed, 43 insertions(+), 64 deletions(-) diff --git a/frontend/src/components/AccountList.vue b/frontend/src/components/AccountList.vue index dd73a47..25c8a4e 100644 --- a/frontend/src/components/AccountList.vue +++ b/frontend/src/components/AccountList.vue @@ -1,11 +1,10 @@