Skip to content

Commit b958858

Browse files
committed
fix deleted numbers not showing until first refresh
1 parent 06e903e commit b958858

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Frontend/src/stores/ConnectionsAndStatsStore.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ export const useConnectionsAndStatsStore = defineStore("ConnectionsAndStatsStore
1818

1919
const { count: requiresFullFailureDetailsSubscriberCount, inc, dec } = useCounter(0);
2020
function requiresFullFailureDetails() {
21-
onMounted(() => inc());
21+
onMounted(() => {
22+
inc();
23+
refresh();
24+
});
2225
onUnmounted(() => dec());
2326
}
2427

0 commit comments

Comments
 (0)