ui fix
This commit is contained in:
parent
84ff95b832
commit
1b3bbd1da1
@ -159,6 +159,7 @@
|
||||
type: "percentSign",
|
||||
},
|
||||
{ name: "Change OI", rule: "changeOI", type: "decimal" },
|
||||
{ name: "Total OI", rule: "totalOI", type: "int" },
|
||||
];
|
||||
|
||||
allRows = [...allRows, ...specificRows];
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
export const load = async ({ locals, setHeaders }) => {
|
||||
export const load = async ({ locals }) => {
|
||||
|
||||
const getStocks = async () => {
|
||||
const { apiKey, apiURL } = locals;
|
||||
@ -14,7 +14,6 @@ export const load = async ({ locals, setHeaders }) => {
|
||||
});
|
||||
|
||||
const output = await response.json();
|
||||
setHeaders({ "cache-control": "public, max-age=60*5" });
|
||||
|
||||
return output;
|
||||
};
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
export let data;
|
||||
|
||||
const defaultList = [
|
||||
{ name: "Total OI", rule: "totalOI" },
|
||||
{ name: "Change OI", rule: "changeOI" },
|
||||
{ name: "Price", rule: "price" },
|
||||
{ name: "% Change", rule: "changesPercentage" },
|
||||
@ -19,6 +20,7 @@
|
||||
"eps",
|
||||
"marketCap",
|
||||
"changeOI",
|
||||
"totalOI",
|
||||
]);
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user