-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Get triggers current_state efficiently
We used to query triggers with their `current_state` at Home startup. We removed it for performances purposes, but now it is only made when the focus event is fired. This means we can miss this state when entering a konnector group, which is required to correctly display the icons. So, we query the triggers when required, and mutualize it with the focus queries to benefit from the redux store.
- Loading branch information
1 parent
c9f8817
commit 80d945e
Showing
3 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters