Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc893257

Browse files
committed
fmt fixes
1 parent873a1a3 commitc893257

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
<divclassName="min-h-60 flex items-center justify-center rounded-lg border border-solid p-12">
7773
<StackalignItems="center"spacing={1}>
7874
<StackalignItems="center"spacing={0.5}>
79-
<spanclassName="text-base">
80-
Managed AI Agents Disabled
81-
</span>
75+
<spanclassName="text-base">Managed AI Agents Disabled</span>
8276
<spanclassName="text-content-secondary text-center max-w-[464px] mt-2">
8377
Managed AI agents are not included in your current license.
84-
Contact{" "}
85-
<MuiLinkhref="mailto:sales@coder.com">sales</MuiLink> to upgrade
86-
your license and unlock this feature.
78+
Contact<MuiLinkhref="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
<divclassName="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)

[8]ページ先頭

©2009-2025 Movatter.jp