This commit is contained in:
IDONTSUDO 2024-09-24 17:21:05 +03:00
parent 4e6132a872
commit fb4fa52c14

View file

@ -1,9 +1,9 @@
import React from "react";
import { DatasetsScreenPath } from "../../../features/dataset/dataset_screen"; import { DatasetsScreenPath } from "../../../features/dataset/dataset_screen";
import { Icon } from "../icons/icons"; import { Icon } from "../icons/icons";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
import { Spin } from "antd"; import { Spin } from "antd";
import { LoadingOutlined } from "@ant-design/icons"; import { LoadingOutlined } from "@ant-design/icons";
import React from "react";
import { SceneManagerPath } from "../../../features/scene_manager/presentation/scene_manager"; import { SceneManagerPath } from "../../../features/scene_manager/presentation/scene_manager";
import { AssemblesScreenPath } from "../../../features/assembles/assembles_screen"; import { AssemblesScreenPath } from "../../../features/assembles/assembles_screen";
import { SimulationScreenPath } from "../../../features/simulations/simulations_screen"; import { SimulationScreenPath } from "../../../features/simulations/simulations_screen";
@ -12,6 +12,7 @@ import { BehaviorTreeBuilderPath } from "../../../features/behavior_tree_builder
import { CalculationInstanceScreenPath as SkillScreenPath } from "../../../features/calculation_instance/presentation/calculation_instance_screen"; import { CalculationInstanceScreenPath as SkillScreenPath } from "../../../features/calculation_instance/presentation/calculation_instance_screen";
import { UiBaseError } from "../../model/ui_base_error"; import { UiBaseError } from "../../model/ui_base_error";
import { DetailsScreenPath } from "../../../features/details/details_screen"; import { DetailsScreenPath } from "../../../features/details/details_screen";
import { BehaviorTreeManagerScreenPath } from "../../../features/behavior_tree_manager/behavior_tree_manager_screen";
export interface IBlockProps { export interface IBlockProps {
name: string; name: string;
isActive: boolean; isActive: boolean;
@ -66,7 +67,7 @@ export const MainPage = (props: IMainPageProps) => {
{ name: "Датасеты", path: DatasetsScreenPath, icon: "Datasets" }, { name: "Датасеты", path: DatasetsScreenPath, icon: "Datasets" },
{ name: "Сцена", path: SceneManagerPath, icon: "Scene" }, { name: "Сцена", path: SceneManagerPath, icon: "Scene" },
{ name: "Вычисления", path: SkillScreenPath, icon: "Layers" }, { name: "Вычисления", path: SkillScreenPath, icon: "Layers" },
{ name: "Поведение", path: BehaviorTreeBuilderPath(), icon: "Rocket" }, { name: "Поведение", path: BehaviorTreeManagerScreenPath, icon: "Rocket" },
{ name: "Симуляция", path: SimulationScreenPath, icon: "Simulation" }, { name: "Симуляция", path: SimulationScreenPath, icon: "Simulation" },
{ name: "Оценка", path: EstimateScreenPath, icon: "Grade" }, { name: "Оценка", path: EstimateScreenPath, icon: "Grade" },
]; ];