Skip to content

Commit a0a6cce

Browse files
committed
w h o o p s
1 parent cafc8a7 commit a0a6cce

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

site/src/pages/DeploySettingsPage/AppearanceSettingsPage/NotificationBannerSettings.tsx

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,23 +136,25 @@ export const NotificationBannerSettings: FC<
136136
</div>
137137
</div>
138138

139-
<footer
140-
css={[
141-
theme.typography.body2 as CSSObject,
142-
{
143-
background: theme.palette.background.paper,
144-
padding: "16px 24px",
145-
},
146-
]}
147-
>
148-
<div css={{ color: theme.palette.text.secondary }}>
149-
<p>
150-
Your license does not include Service Banners.{" "}
151-
<Link href="mailto:sales@coder.com">Contact sales</Link> to learn
152-
more.
153-
</p>
154-
</div>
155-
</footer>
139+
{!isEntitled && (
140+
<footer
141+
css={[
142+
theme.typography.body2 as CSSObject,
143+
{
144+
background: theme.palette.background.paper,
145+
padding: "16px 24px",
146+
},
147+
]}
148+
>
149+
<div css={{ color: theme.palette.text.secondary }}>
150+
<p>
151+
Your license does not include Service Banners.{" "}
152+
<Link href="mailto:sales@coder.com">Contact sales</Link> to
153+
learn more.
154+
</p>
155+
</div>
156+
</footer>
157+
)}
156158
</div>
157159

158160
{editingBanner && (

0 commit comments

Comments
 (0)