1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

PM-20961 App header added (#17350)

This commit is contained in:
Vijay Oommen
2025-11-13 13:35:03 -06:00
committed by GitHub
parent a41c7b79b4
commit e88720d4ed

View File

@@ -1,3 +1,5 @@
<app-header> </app-header>
<ng-container>
@let status = dataService.reportStatus$ | async;
@let hasCiphers = dataService.hasCiphers$ | async;
@@ -8,7 +10,6 @@
} @else {
<!-- Check final states after initial calls have been completed -->
@if (isRiskInsightsActivityTabFeatureEnabled && !(dataService.hasReportData$ | async)) {
<h1 bitTypography="h1">{{ "accessIntelligence" | i18n }}</h1>
<!-- Show empty state only when feature flag is enabled and there's no report data -->
<div @fadeIn class="tw-flex tw-justify-center tw-items-center tw-min-h-[70vh] tw-w-full">
@if (!hasCiphers) {
@@ -39,7 +40,6 @@
<!-- Show screen when there is report data OR when feature flag is disabled (show tabs even without data) -->
<div @fadeIn class="tw-min-h-screen tw-flex tw-flex-col">
<div>
<h1 bitTypography="h1">{{ "accessIntelligence" | i18n }}</h1>
<div class="tw-text-main tw-max-w-4xl tw-mb-2" *ngIf="appsCount > 0">
{{ "reviewAtRiskPasswords" | i18n }}
</div>