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

Commitbcb7faa

Browse files
committed
lint fixes
1 parent2e87ac2 commitbcb7faa

File tree

5 files changed

+203
-196
lines changed

5 files changed

+203
-196
lines changed

‎site/package.json‎

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ const LicensesSettingsPage: FC = () => {
8585
isRemovingLicense={isRemovingLicense}
8686
removeLicense={(licenseId:number)=>removeLicenseApi(licenseId)}
8787
activeUsers={userStatusCount?.active}
88-
managedAgentFeature={entitlementsQuery.data?.features.managed_agent_limit}
88+
managedAgentFeature={
89+
entitlementsQuery.data?.features.managed_agent_limit
90+
}
8991
refreshEntitlements={async()=>{
9092
try{
9193
awaitrefreshEntitlementsMutation.mutateAsync();

‎site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/LicensesSettingsPageView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import MuiLink from "@mui/material/Link";
44
importSkeletonfrom"@mui/material/Skeleton";
55
importTooltipfrom"@mui/material/Tooltip";
66
importtype{GetLicensesResponse}from"api/api";
7-
importtype{Entitlements,Feature,UserStatusChangeCount}from"api/typesGenerated";
7+
importtype{Feature,UserStatusChangeCount}from"api/typesGenerated";
88
import{Button}from"components/Button/Button";
99
import{
1010
SettingsHeader,

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import type { Meta, StoryObj } from "@storybook/react";
22
import{ManagedAgentsConsumption}from"./ManagedAgentsConsumption";
33

44
constmeta:Meta<typeofManagedAgentsConsumption>={
5-
title:
6-
"pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption",
7-
component:ManagedAgentsConsumption,
8-
args:{
9-
usage:50000,
10-
included:60000,
11-
limit:120000,
12-
startDate:"February 27, 2025",
13-
endDate:"February 27, 2026",
14-
},
5+
title:
6+
"pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption",
7+
component:ManagedAgentsConsumption,
8+
args:{
9+
usage:50000,
10+
included:60000,
11+
limit:120000,
12+
startDate:"February 27, 2025",
13+
endDate:"February 27, 2026",
14+
},
1515
};
1616

1717
exportdefaultmeta;
@@ -20,33 +20,33 @@ type Story = StoryObj<typeof ManagedAgentsConsumption>;
2020
exportconstDefault:Story={};
2121

2222
exportconstNearLimit:Story={
23-
args:{
24-
usage:115000,
25-
included:60000,
26-
limit:120000,
27-
},
23+
args:{
24+
usage:115000,
25+
included:60000,
26+
limit:120000,
27+
},
2828
};
2929

3030
exportconstOverIncluded:Story={
31-
args:{
32-
usage:80000,
33-
included:60000,
34-
limit:120000,
35-
},
31+
args:{
32+
usage:80000,
33+
included:60000,
34+
limit:120000,
35+
},
3636
};
3737

3838
exportconstLowUsage:Story={
39-
args:{
40-
usage:25000,
41-
included:60000,
42-
limit:120000,
43-
},
39+
args:{
40+
usage:25000,
41+
included:60000,
42+
limit:120000,
43+
},
4444
};
4545

4646
exportconstDisabled:Story={
47-
args:{
48-
usage:NaN,
49-
included:NaN,
50-
limit:NaN,
51-
},
47+
args:{
48+
usage:Number.NaN,
49+
included:Number.NaN,
50+
limit:Number.NaN,
51+
},
5252
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp