There was an error while loading. Please reload this page.
1 parent 3c63ed8 commit c340d5eCopy full SHA for c340d5e
npm-packages/dashboard-common/src/layouts/DeploymentDashboardLayout.tsx
@@ -140,13 +140,12 @@ export function DeploymentDashboardLayout({
140
return (
141
<FunctionsProvider>
142
<div className="flex h-full grow flex-col overflow-y-hidden">
143
- {visiblePages === undefined ||
144
- (visiblePages.includes("settings") && (
145
- <>
146
- <PauseBanner />
147
- <NodeVersionBanner />
148
- </>
149
- ))}
+ {(visiblePages === undefined || visiblePages.includes("settings")) && (
+ <>
+ <PauseBanner />
+ <NodeVersionBanner />
+ </>
+ )}
150
<div className="flex h-full flex-col overflow-y-auto sm:flex-row">
151
{sidebarItems.length > 0 && (
152
<Sidebar
0 commit comments