FE: 22916 followup code cleanup (#23306)
This commit is contained in:
@@ -214,7 +214,6 @@ const ActionsDropdown = ({
|
||||
...(state.isDisabled && {
|
||||
color: COLORS["ui-fleet-black-50"],
|
||||
fontStyle: "italic",
|
||||
// pointerEvents: "none", // Prevents any mouse interaction
|
||||
}),
|
||||
}),
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// All styling in customStyles part of react-select-5
|
||||
// All other styling in customStyles part of react-select-5
|
||||
.actions-dropdown-select__control {
|
||||
&:focus-visible {
|
||||
background-color: $core-fleet-blue;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { Children } from "react";
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import Spinner from "components/Spinner";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from "react";
|
||||
|
||||
import LinkCell from "components/TableContainer/DataTable/LinkCell";
|
||||
import TextCell from "components/TableContainer/DataTable/TextCell";
|
||||
import DropdownCell from "components/ActionsDropdown";
|
||||
import ActionsDropdown from "components/ActionsDropdown";
|
||||
import { ITeam } from "interfaces/team";
|
||||
import { IDropdownOption } from "interfaces/dropdownOption";
|
||||
import PATHS from "router/paths";
|
||||
@@ -91,7 +91,7 @@ const generateTableHeaders = (
|
||||
disableSortBy: true,
|
||||
accessor: "actions",
|
||||
Cell: (cellProps: IDropdownCellProps) => (
|
||||
<DropdownCell
|
||||
<ActionsDropdown
|
||||
options={cellProps.cell.value}
|
||||
onChange={(value: string) =>
|
||||
actionSelectHandler(value, cellProps.row.original)
|
||||
|
||||
Reference in New Issue
Block a user