diff --git a/frontend/src/Pages/StatementDetails.tsx b/frontend/src/Pages/StatementDetails.tsx index a583090f..ac8652a6 100644 --- a/frontend/src/Pages/StatementDetails.tsx +++ b/frontend/src/Pages/StatementDetails.tsx @@ -320,7 +320,6 @@ const StatementDetails = () => { extraData={{ connectivity_statement_id: statement.id, }} - isDisabled={isDisabled} /> diff --git a/frontend/src/components/StatementWithProvenances.tsx b/frontend/src/components/StatementWithProvenances.tsx index bd2ef5c1..bf95a7f4 100644 --- a/frontend/src/components/StatementWithProvenances.tsx +++ b/frontend/src/components/StatementWithProvenances.tsx @@ -1,7 +1,6 @@ import React from "react"; import {Box} from "@mui/material"; import StatementForm from "./Forms/StatementForm"; -import ProvenancesForm from "./Forms/ProvenanceForm"; const StatementWithProvenances = ({ statement, background = "#fff", refreshStatement, isDisabled } : any) => { diff --git a/frontend/src/components/Widgets/CustomEntitiesDropdown.tsx b/frontend/src/components/Widgets/CustomEntitiesDropdown.tsx index fb887e0b..67029ed8 100644 --- a/frontend/src/components/Widgets/CustomEntitiesDropdown.tsx +++ b/frontend/src/components/Widgets/CustomEntitiesDropdown.tsx @@ -18,7 +18,6 @@ import { } from "@mui/material"; import {CheckedItemIcon, CheckedItemIconBG, UncheckedItemIcon} from "../icons"; import HoveredOptionContent from "./HoveredOptionContent"; -import ClearOutlinedIcon from "@mui/icons-material/ClearOutlined"; import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown"; import ArrowDropUpIcon from "@mui/icons-material/ArrowDropUp"; import theme from "../../theme/Theme"; @@ -209,8 +208,6 @@ export default function CustomEntitiesDropdown({ chipsNumber = 2, postProcessOptions = false, refreshStatement, - statement, - fieldName = "", getPreLevelSelectedValues, areConnectionsExplicit, minWidth = '', diff --git a/frontend/src/components/Widgets/NotesFomList.tsx b/frontend/src/components/Widgets/NotesFomList.tsx index 0bd21e61..e0ec3384 100644 --- a/frontend/src/components/Widgets/NotesFomList.tsx +++ b/frontend/src/components/Widgets/NotesFomList.tsx @@ -29,7 +29,7 @@ const TimeLineIcon = () => { } const NoteDetails = (props: any) => { - const { extraData, isDisabled } = props + const { extraData } = props const [noteList, setNoteList] = useState([]) const [refresh, setRefresh] = useState(false) @@ -48,24 +48,21 @@ const NoteDetails = (props: any) => { return ( - { - !isDisabled && - - - } - + + + ({ +const StyledInput = styled(TextField)(() => ({ "& .MuiInputBase-root": { boxShadow: 'none', @@ -49,7 +46,6 @@ const TextfieldWithChips = ({ data.map( ( ele: { id: number; label: string; enableClick: boolean }, - index: number, ) => (