amo fix id

This commit is contained in:
Nastya 2024-06-02 01:42:52 +03:00
parent ca132a1575
commit b4ea040946
2 changed files with 4 additions and 1 deletions

@ -214,7 +214,7 @@ export const CustomRadioGroup: FC<CustomRadioGroupProps> = ({
textOverflow: "ellipsis"
}
}}
value={pipeline.ID}
value={pipeline.AmoID}
control={
<Radio
checkedIcon={

@ -20,6 +20,7 @@ type CustomSelectProps = {
type?: string;
};
export const CustomSelect: FC<CustomSelectProps> = ({
selectedItem,
setSelectedItem,
@ -89,6 +90,8 @@ export const CustomSelect: FC<CustomSelectProps> = ({
const menuItems = useMemo(() => {
if (type === "typeUsers" && users && users.length !== 0) {
console.log(type)
console.log(users)
return users.map((user) => (
<MenuItem
key={user.ID}