diff --git a/src/components/nested-table-view/common/editable-table-cell.tsx b/src/components/nested-table-view/common/editable-table-cell.tsx index 7c35f55..556bd37 100644 --- a/src/components/nested-table-view/common/editable-table-cell.tsx +++ b/src/components/nested-table-view/common/editable-table-cell.tsx @@ -3,9 +3,9 @@ import { observer } from "mobx-react-lite"; import { Editable, EditablePreview, EditableInput } from "@chakra-ui/react"; import { IResult } from "@concord-consortium/codap-plugin-api"; import { IProcessedCaseObj } from "../../../types"; +import { getDisplayValue } from "../../../utils/utils"; import css from "./editable-table-cell.scss"; -import { getDisplayValue } from "../../../utils/utils"; interface IProps { attrTitle: string; diff --git a/src/components/nested-table-view/portrait/portrait-table-row.tsx b/src/components/nested-table-view/portrait/portrait-table-row.tsx index b7fb04e..9d4dae2 100644 --- a/src/components/nested-table-view/portrait/portrait-table-row.tsx +++ b/src/components/nested-table-view/portrait/portrait-table-row.tsx @@ -3,18 +3,18 @@ import { IProcessedCaseObj, ITableProps } from "../../../types"; import { observer } from "mobx-react-lite"; import { useTableHeaderFocusContext } from "../../../hooks/useTableHeaderFocusContext"; import { TableCells } from "../common/table-cells"; +import { TableHeaders } from "../common/table-headers"; import { DraggableTableContainer, DroppableTableData, DroppableTableHeader } from "../common/draggable-table-tags"; import css from "../common/tables.scss"; -import { TableHeaders } from "../common/table-headers"; -export type PortraitViewRowProps = { +export type PortraitTableRowProps = { caseObj: IProcessedCaseObj, index?: null | number, isParent: boolean, parentLevel?: number dataSetName: string, hasFocusBeenSet?: boolean } & ITableProps; -export const PortraitTableRow = observer(function PortraitViewRow(props: PortraitViewRowProps) { +export const PortraitTableRow = observer(function PortraitTableRow(props: PortraitTableRowProps) { const { paddingStyle, showHeaders, getClassName, caseObj, index, isParent, parentLevel = 0, dataSetName, handleAddAttribute, collectionsModel, handleSortAttribute, renameAttribute, hasFocusBeenSet, editCaseValue, selectedDataSet } = props; @@ -93,7 +93,7 @@ export const PortraitTableRow = observer(function PortraitViewRow(props: Portrai