|
|
|
@ -14,6 +14,7 @@ import { useGridSize } from "../../stores/useGridSize";
|
|
|
|
import { api } from "../../config";
|
|
|
|
import { api } from "../../config";
|
|
|
|
import { useRating } from "../../stores/useRating";
|
|
|
|
import { useRating } from "../../stores/useRating";
|
|
|
|
import { useState } from "react";
|
|
|
|
import { useState } from "react";
|
|
|
|
|
|
|
|
import { useModel } from "../../stores/useModel";
|
|
|
|
|
|
|
|
|
|
|
|
const activeTablesMapper = {
|
|
|
|
const activeTablesMapper = {
|
|
|
|
net_3: ["point3", "net_3"],
|
|
|
|
net_3: ["point3", "net_3"],
|
|
|
|
@ -52,6 +53,7 @@ export const Sidebar = () => {
|
|
|
|
const { region } = useRegion();
|
|
|
|
const { region } = useRegion();
|
|
|
|
const { gridSize } = useGridSize();
|
|
|
|
const { gridSize } = useGridSize();
|
|
|
|
const { rate: rateRange } = useRating();
|
|
|
|
const { rate: rateRange } = useRating();
|
|
|
|
|
|
|
|
const { model } = useModel();
|
|
|
|
|
|
|
|
|
|
|
|
const [isExporting, setIsExporting] = useState(false);
|
|
|
|
const [isExporting, setIsExporting] = useState(false);
|
|
|
|
|
|
|
|
|
|
|
|
@ -65,6 +67,7 @@ export const Sidebar = () => {
|
|
|
|
rate_from: rateRange[0],
|
|
|
|
rate_from: rateRange[0],
|
|
|
|
rate_to: rateRange[1],
|
|
|
|
rate_to: rateRange[1],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
method: model === "ml" ? "model" : "rate",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (region) {
|
|
|
|
if (region) {
|
|
|
|
|