chore: move AddWhereCondModal to legacy
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { WhereWhatPair } from "maxun-core";
|
import { WhereWhatPair } from "maxun-core";
|
||||||
import { GenericModal } from "../../src/components/ui/GenericModal";
|
import { GenericModal } from "../../src/components/ui/GenericModal";
|
||||||
import { modalStyle } from "../../src/components/recorder/AddWhereCondModal";
|
import { modalStyle } from "./AddWhereCondModal";
|
||||||
import { Button, TextField, Typography } from "@mui/material";
|
import { Button, TextField, Typography } from "@mui/material";
|
||||||
import React, { useRef } from "react";
|
import React, { useRef } from "react";
|
||||||
import { KeyValueForm } from "../../src/components/recorder/KeyValueForm";
|
import { KeyValueForm } from "../../src/components/recorder/KeyValueForm";
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
import { Dropdown as MuiDropdown } from "../ui/DropdownMui";
|
import { Dropdown as MuiDropdown } from "../../src/components/ui/DropdownMui";
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
MenuItem,
|
MenuItem,
|
||||||
Typography
|
Typography
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
import React, { useRef } from "react";
|
import React, { useRef } from "react";
|
||||||
import { GenericModal } from "../ui/GenericModal";
|
import { GenericModal } from "../../src/components/ui/GenericModal";
|
||||||
import { WhereWhatPair } from "maxun-core";
|
import { WhereWhatPair } from "maxun-core";
|
||||||
import { SelectChangeEvent } from "@mui/material/Select/Select";
|
import { SelectChangeEvent } from "@mui/material/Select/Select";
|
||||||
import { DisplayConditionSettings } from "../../../legacy/src/DisplayWhereConditionSettings";
|
import { DisplayConditionSettings } from "./DisplayWhereConditionSettings";
|
||||||
import { useSocketStore } from "../../context/socket";
|
import { useSocketStore } from "../../src/context/socket";
|
||||||
|
|
||||||
interface AddWhereCondModalProps {
|
interface AddWhereCondModalProps {
|
||||||
isOpen: boolean;
|
isOpen: boolean;
|
||||||
@@ -10,7 +10,7 @@ import { AddButton } from "../../src/components/ui/buttons/AddButton";
|
|||||||
import { WarningText } from "../../src/components/ui/texts";
|
import { WarningText } from "../../src/components/ui/texts";
|
||||||
import NotificationImportantIcon from '@mui/icons-material/NotificationImportant';
|
import NotificationImportantIcon from '@mui/icons-material/NotificationImportant';
|
||||||
import { RemoveButton } from "../../src/components/ui/buttons/RemoveButton";
|
import { RemoveButton } from "../../src/components/ui/buttons/RemoveButton";
|
||||||
import { AddWhereCondModal } from "../../src/components/recorder/AddWhereCondModal";
|
import { AddWhereCondModal } from "./AddWhereCondModal";
|
||||||
import { useSocketStore } from "../../src/context/socket";
|
import { useSocketStore } from "../../src/context/socket";
|
||||||
import { AddWhatCondModal } from "./AddWhatCondModal";
|
import { AddWhatCondModal } from "./AddWhatCondModal";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user