-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor home component to prevent multiple subscriptions and redunda…
…nt storing for values (#292) * Subscribe to observable with async pipe only once Unwrapping observable into object prevents ngIf from hiding whole menu when waiting for listConfig to arrive * Don't store isLoggedIn value * Use new Angular's control flow in template * Use standalone components instead of common module
- Loading branch information
1 parent
bc75e6f
commit a28c569
Showing
2 changed files
with
31 additions
and
36 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