Skip to content

Commit

Permalink
dont try to render nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed Jun 9, 2024
1 parent 749852f commit e71fb91
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 22 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion corptools/static/corptools/bs5/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"index.html": {
"file": "assets/index-CVyiTtab.js",
"file": "assets/index-D1_HPnIw.js",
"src": "index.html",
"isEntry": true,
"imports": [
Expand Down
2 changes: 1 addition & 1 deletion frontend/frontend/build/static/.vite/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"index.html": {
"file": "assets/index-CVyiTtab.js",
"file": "assets/index-D1_HPnIw.js",
"src": "index.html",
"isEntry": true,
"imports": [
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/frontend/build/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
padding-top: 3.5em !important;
}
</style>
<script type="module" crossorigin src="/assets/index-CVyiTtab.js"></script>
<script type="module" crossorigin src="/assets/index-D1_HPnIw.js"></script>
<link rel="modulepreload" crossorigin href="/assets/@libs-CL5_lZKS.js">
<link rel="modulepreload" crossorigin href="/assets/@react-router-DQ_G6aig.js">
<link rel="stylesheet" crossorigin href="/static/corptools/bs5/statics/css/index-DGje4lAW.css">
Expand Down
14 changes: 9 additions & 5 deletions frontend/frontend/src/Pages/Char/Glance/Factions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@ export const GlancesFactions = () => {
<div className="d-flex h-100 align-items-center">
<IconStatusDiv
iconSrc={FW}
text={data?.lp?.total?.toLocaleString("en-US", {
maximumFractionDigits: 2,
notation: "compact",
compactDisplay: "short",
})}
text={
data?.lp?.total
? data?.lp?.total?.toLocaleString("en-US", {
maximumFractionDigits: 2,
notation: "compact",
compactDisplay: "short",
})
: "0"
}
textVariant="info"
/>
{data?.lp?.top_five?.map((lp_data: any) => {
Expand Down

0 comments on commit e71fb91

Please sign in to comment.