kopia lustrzana https://github.com/bugout-dev/moonstream
Add polygon to subscriptions filter and resolve problems with are keys.
rodzic
1bb249f021
commit
21ab83b4ef
|
@ -210,7 +210,7 @@ const Analytics = () => {
|
|||
{name}
|
||||
</Text>
|
||||
<SubscriptionReport
|
||||
url={s3PresignedURLs.week}
|
||||
url={s3PresignedURLs.month}
|
||||
id={v4()}
|
||||
type={v4()}
|
||||
/>
|
||||
|
|
|
@ -80,7 +80,8 @@ const NewDashboard = (props) => {
|
|||
]);
|
||||
|
||||
const filterFn = (item, inputValue) =>
|
||||
item.subscription_type_id === "ethereum_blockchain" &&
|
||||
(item.subscription_type_id === "ethereum_blockchain" ||
|
||||
item.subscription_type_id === "polygon_blockchain") &&
|
||||
(!inputValue ||
|
||||
item.address.toUpperCase().includes(inputValue.toUpperCase()) ||
|
||||
item.label.toUpperCase().includes(inputValue.toUpperCase()));
|
||||
|
|
|
@ -35,6 +35,6 @@ export const getDashboard = (dashboardId) => {
|
|||
export const getDashboardLinks = (dashboardId) => {
|
||||
return http({
|
||||
method: "GET",
|
||||
url: `${API_URL}/dashboards/${dashboardId}/data_links`,
|
||||
url: `${API_URL}/dashboards/${dashboardId}/stats`,
|
||||
});
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue