mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-16 21:02:53 +08:00
* Add feature flag route guard and tests * Add additional test for not showing error toast * Strengthen error toast test with message check * Cleanup leaking test state in platformService mock * Negate if statement to reduce nesting * Update return type to CanActivateFn * Use null check instead of undefined * Introduce interface to support different feature flag types - Switch to observable pattern to access serverConfig$ subject - Add catchError handler to allow navigation in case of unexpected exception - Add additional tests * Add additional test for missing feature flag * Remove subscription to the serverConfig observable Introduce type checking logic to determine the appropriately typed flag getter to use in configService * Update the feature flag to fallback to blocking the route on an unexpected exception * Trigger test action * Fix imports after merge with master |
||
|---|---|---|
| .. | ||
| .vscode | ||
| angular | ||
| common | ||
| components | ||
| exporter | ||
| importer | ||
| node | ||
| shared | ||