Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
VaalaCat committed Nov 30, 2024
1 parent cdbaf03 commit e7edbd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/components/client_list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const ClientList: React.FC<ClientListProps> = ({ Clients, Keyword, Trigge
} as ClientTableSchema
}) ?? data,
pageCount: Math.ceil(
// @ts-ignore
(dataQuery.data?.total == undefined ? 0 : dataQuery.data?.total) / fetchDataOptions.pageSize ?? 0,
),
columns: clientColumnsDef,
Expand Down
1 change: 1 addition & 0 deletions www/components/server_list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const ServerList: React.FC<ServerListProps> = ({ Servers, Keyword, Trigge
} as ServerTableSchema
}) ?? data,
pageCount: Math.ceil(
//@ts-ignore
(dataQuery.data?.total == undefined ? 0 : dataQuery.data?.total) / fetchDataOptions.pageSize ?? 0,
),
columns: serverColumnsDef,
Expand Down
1 change: 1 addition & 0 deletions www/components/stats/client_stats_card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const ClientStatsCard: React.FC<ClientStatsCardProps> = ({ clientID: defa
}} />
<Label>隧道名称</Label>
<ProxySelector
// @ts-ignore
proxyNames={clientStatsList?.proxyInfos.map((proxyInfo) => proxyInfo.name).filter((value) => value !== undefined) || []}
proxyName={proxyName}
setProxyname={setProxyName} />
Expand Down

0 comments on commit e7edbd3

Please sign in to comment.