mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
Removing the notifications feature flag and logic (#15551)
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
<div class="tw-flex tw-justify-between tw-mb-4">
|
||||
<h2 bitTypography="h2">{{ "criticalApplications" | i18n }}</h2>
|
||||
<button
|
||||
*ngIf="isNotificationsFeatureEnabled"
|
||||
bitButton
|
||||
buttonType="primary"
|
||||
type="button"
|
||||
|
||||
@@ -16,7 +16,6 @@ import {
|
||||
ApplicationHealthReportDetailWithCriticalFlagAndCipher,
|
||||
ApplicationHealthReportSummary,
|
||||
} from "@bitwarden/bit-common/dirt/reports/risk-insights/models/password-health";
|
||||
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
|
||||
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
|
||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||
import { CipherId, OrganizationId } from "@bitwarden/common/types/guid";
|
||||
@@ -63,14 +62,9 @@ export class CriticalApplicationsComponent implements OnInit {
|
||||
protected organizationId: string;
|
||||
protected applicationSummary = {} as ApplicationHealthReportSummary;
|
||||
noItemsIcon = Icons.Security;
|
||||
isNotificationsFeatureEnabled: boolean = false;
|
||||
enableRequestPasswordChange = false;
|
||||
|
||||
async ngOnInit() {
|
||||
this.isNotificationsFeatureEnabled = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.EnableRiskInsightsNotifications,
|
||||
);
|
||||
|
||||
this.organizationId = this.activatedRoute.snapshot.paramMap.get("organizationId") ?? "";
|
||||
|
||||
combineLatest([
|
||||
|
||||
Reference in New Issue
Block a user