Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: restore dock (#766)

Peter Chinmanfe72a9986322
diff --git a/js/app/packages/app/component/Layout.tsx b/js/app/packages/app/component/Layout.tsx
index d4bda2f908..021a25b7e4 100644
--- a/js/app/packages/app/component/Layout.tsx
+++ b/js/app/packages/app/component/Layout.tsx
@@ -3,6 +3,7 @@ import { useIsAuthenticated } from '@core/auth';
import { Resize } from '@core/component/Resize';
import { useABTest } from '@core/constant/ABTest';
import { usePaywallState } from '@core/constant/PaywallState';
+import { isNativeMobilePlatform } from '@core/mobile/isNativeMobilePlatform';
import { isMobileWidth } from '@core/mobile/mobileWidth';
import {
LAYOUT_CONTEXT_ID,
@@ -15,6 +16,7 @@ import { updateCookie } from '../util/updateCookie';
import Banner from './banner/Banner';
import { GlobalBulkEditEntityModal } from './bulk-edit-entity/BulkEditEntityModal';
import { KommandMenu } from './command/Konsole';
+import { Dock } from './dock/Dock';
import GlobalShortcuts from './GlobalHotkeys';
import { ItemDndProvider } from './ItemDragAndDrop';
import { createMenuOpen, Launcher, setCreateMenuOpen } from './Launcher';
@@ -165,6 +167,9 @@ export function Layout(props: RouteSectionProps) {
<Show
when={isAuthenticated() && !AUTH_URLS.includes(location.pathname)}
>
+ <Show when={!isNativeMobilePlatform()}>
+ <Dock />
+ </Show>
<Launcher open={createMenuOpen()} onOpenChange={setCreateMenuOpen} />
</Show>
</Suspense>