Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Fix notifications not appearing in new layout #24281

Merged
merged 12 commits into from
Oct 31, 2023
2 changes: 2 additions & 0 deletions code/ui/manager/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useDragging } from './useDragging';
import { MobileNavigation } from '../mobile/navigation/MobileNavigation';
import { MEDIA_DESKTOP_BREAKPOINT } from '../../constants';
import { useLayout } from './LayoutProvider';
import { Notifications } from '../../container/Notifications';

interface InternalLayoutState {
isDragging: boolean;
Expand Down Expand Up @@ -142,6 +143,7 @@ export const Layout = ({ managerLayoutState, setManagerLayoutState, ...slots }:
isDragging={isDragging}
viewMode={managerLayoutState.viewMode}
>
<Notifications />
{showPages && <PagesContainer>{slots.slotPages}</PagesContainer>}
<ContentContainer>{slots.slotMain}</ContentContainer>
{isDesktop && (
Expand Down

This file was deleted.

Loading