mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
feat: show notifications, the command palette and the account avatar in every app's phone header
This commit is contained in:
@@ -8,6 +8,7 @@ import { useAuthStore, redirectToLogin, saveRedirectAfterLogin } from "@/stores/
|
||||
import { useEmailStore } from "@/stores/email-store";
|
||||
import { usePluginStore } from "@/stores/plugin-store";
|
||||
import { NavigationRail } from "@/components/layout/navigation-rail";
|
||||
import { PhoneAppHeader } from "@/components/layout/phone-header-actions";
|
||||
import { SidebarAppsModal } from "@/components/layout/sidebar-apps-modal";
|
||||
import { InlineAppView } from "@/components/layout/inline-app-view";
|
||||
import { MvTopBar } from "@/components/layout/mv-top-bar";
|
||||
@@ -144,6 +145,7 @@ export function PluginPageApp({ linkSegments = [] }: PluginPageAppProps) {
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col flex-1 min-w-0">
|
||||
{!isEmbedded && <PhoneAppHeader title={page?.title ?? ""} below="md" />}
|
||||
{inlineApp && <InlineAppView apps={loadedApps} activeAppId={inlineApp.id} onClose={closeInlineApp} />}
|
||||
<div className={cn("flex flex-col flex-1 min-h-0", inlineApp && "hidden")}>
|
||||
{content}
|
||||
|
||||
Reference in New Issue
Block a user