Skip to content

Commit 6ac993a

Browse files
committed
fixes
1 parent 0aa58b5 commit 6ac993a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

backend/routers/stocks.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async def stock_filing(
110110
"access_number": access_number,
111111
"stocks": {"$exists": True},
112112
},
113-
additional_two=[
113+
additional_two=[ # Horrible
114114
{
115115
"$addFields": {
116116
"name": {"$ifNull": ["$name", "N/A"]},
@@ -147,7 +147,7 @@ async def stock_filing(
147147
{"$ne": ["$prices.buy.series", "N/A"]},
148148
{
149149
"$concat": [
150-
"\\$",
150+
{"$literal": "$"},
151151
{
152152
"$toString": {
153153
"$convert": {
@@ -175,7 +175,7 @@ async def stock_filing(
175175
{"$ne": ["$prices.sold.series", "N/A"]},
176176
{
177177
"$concat": [
178-
"\\$",
178+
{"$literal": "$"},
179179
{
180180
"$toString": {
181181
"$convert": {
@@ -220,7 +220,7 @@ async def stock_filing(
220220
},
221221
{
222222
"$concat": [
223-
"\\$",
223+
{"$literal": "$"},
224224
{
225225
"$toString": {
226226
"$convert": {
@@ -247,7 +247,7 @@ async def stock_filing(
247247
},
248248
{
249249
"$concat": [
250-
"\\$",
250+
{"$literal": "$"},
251251
{
252252
"$toString": {
253253
"$convert": {

frontend/components/Table/Table.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ const Table = (props) => {
5252
<Row key={i.id} item={i} headers={headers} />
5353
))}
5454
</tbody>
55-
{loading ? <Loading /> : null}
5655
</table>
56+
{loading ? <Loading /> : null}
5757
</div>
5858
<Pagination pagination={pagination} paginate={paginate} skip={skip} />
5959
</>

0 commit comments

Comments
 (0)