Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leftmove committed Feb 12, 2025
1 parent 0aa58b5 commit 6ac993a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions backend/routers/stocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def stock_filing(
"access_number": access_number,
"stocks": {"$exists": True},
},
additional_two=[
additional_two=[ # Horrible
{
"$addFields": {
"name": {"$ifNull": ["$name", "N/A"]},
Expand Down Expand Up @@ -147,7 +147,7 @@ async def stock_filing(
{"$ne": ["$prices.buy.series", "N/A"]},
{
"$concat": [
"\\$",
{"$literal": "$"},
{
"$toString": {
"$convert": {
Expand Down Expand Up @@ -175,7 +175,7 @@ async def stock_filing(
{"$ne": ["$prices.sold.series", "N/A"]},
{
"$concat": [
"\\$",
{"$literal": "$"},
{
"$toString": {
"$convert": {
Expand Down Expand Up @@ -220,7 +220,7 @@ async def stock_filing(
},
{
"$concat": [
"\\$",
{"$literal": "$"},
{
"$toString": {
"$convert": {
Expand All @@ -247,7 +247,7 @@ async def stock_filing(
},
{
"$concat": [
"\\$",
{"$literal": "$"},
{
"$toString": {
"$convert": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Table/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const Table = (props) => {
<Row key={i.id} item={i} headers={headers} />
))}
</tbody>
{loading ? <Loading /> : null}
</table>
{loading ? <Loading /> : null}
</div>
<Pagination pagination={pagination} paginate={paginate} skip={skip} />
</>
Expand Down

0 comments on commit 6ac993a

Please sign in to comment.