Skip to content

Commit c893257

Browse files
committed
fmt fixes
1 parent 873a1a3 commit c893257

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

site/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,7 @@
191191
"vite-plugin-checker": "0.9.3",
192192
"vite-plugin-turbosnap": "1.0.3"
193193
},
194-
"browserslist": [
195-
"chrome 110",
196-
"firefox 111",
197-
"safari 16.0"
198-
],
194+
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
199195
"resolutions": {
200196
"optionator": "0.9.3",
201197
"semver": "7.6.2"

site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ const validateFeature = (feature?: Feature): string | null => {
3131
return "Managed agent feature is enabled but missing required usage data (actual, soft_limit, or limit).";
3232
}
3333

34-
if (
35-
feature.actual < 0 ||
36-
feature.soft_limit < 0 ||
37-
feature.limit < 0
38-
) {
34+
if (feature.actual < 0 || feature.soft_limit < 0 || feature.limit < 0) {
3935
return "Managed agent feature contains invalid negative values for usage metrics.";
4036
}
4137

@@ -76,14 +72,11 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
7672
<div className="min-h-60 flex items-center justify-center rounded-lg border border-solid p-12">
7773
<Stack alignItems="center" spacing={1}>
7874
<Stack alignItems="center" spacing={0.5}>
79-
<span className="text-base">
80-
Managed AI Agents Disabled
81-
</span>
75+
<span className="text-base">Managed AI Agents Disabled</span>
8276
<span className="text-content-secondary text-center max-w-[464px] mt-2">
8377
Managed AI agents are not included in your current license.
84-
Contact{" "}
85-
<MuiLink href="mailto:sales@coder.com">sales</MuiLink> to upgrade
86-
your license and unlock this feature.
78+
Contact <MuiLink href="mailto:sales@coder.com">sales</MuiLink> to
79+
upgrade your license and unlock this feature.
8780
</span>
8881
</Stack>
8982
</Stack>
@@ -171,7 +164,8 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
171164
>
172165
<div className="w-full border-b-1 border-t-1 border-dashed border-content-disabled" />
173166
</div>
174-
Total limit after which further AI workspace builds will be blocked.
167+
Total limit after which further AI workspace builds will be
168+
blocked.
175169
</li>
176170
</ul>
177171
</CollapsibleContent>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy