refac: align the admin Users tab counts with the workspace tab count behavior (#29080)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user