refac: align the admin Users tab counts with the workspace tab count behavior (#29080)

This commit is contained in:
G30
2026-08-27 16:45:34 -04:00
committed by GitHub
parent 1c5128c4aa
commit fa7de50c60
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -25,6 +25,10 @@
scrollToTab(selectedTab);
}
$: if (loaded && selectedTab) {
loadCounts();
}
const scrollToTab = (tabId) => {
const tabElement = document.getElementById(tabId);
if (tabElement) {
@@ -58,7 +62,6 @@
await goto('/');
}
await loadCounts();
loaded = true;
const containerElement = document.getElementById('users-tabs-container');