mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-10 00:14:38 +00:00
Immediately refresh patrol findings after org switch
The patrol polling effect did not depend on activeOrgID, so it continued using the old interval without immediately loading new org data. With the intelligence state now cleared on org switch, this caused up to 30s of empty findings until the next poll cycle.
This commit is contained in:
parent
eebe0b5f74
commit
3fa0a316e2
1 changed files with 1 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ export const useAppRuntimeState = () => {
|
|||
});
|
||||
|
||||
createEffect(() => {
|
||||
activeOrgID();
|
||||
const ready = !isLoading() && !needsAuth();
|
||||
if (!ready) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue