diff --git a/src/components/list-contact/ListContactInfoPanel.tsx b/src/components/list-contact/ListContactInfoPanel.tsx index 6dff3fe..1144b6c 100644 --- a/src/components/list-contact/ListContactInfoPanel.tsx +++ b/src/components/list-contact/ListContactInfoPanel.tsx @@ -6,6 +6,7 @@ import { Button } from '@/components/ui/button' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { KriSingleSelect } from '@/components/common/KriAutoComplete' +import { LIST_IS_USE_LABEL } from '@/components/table-column/ListTableColumn' import { useDialog } from '@/hooks/useDialog' import { useDownloadListItemFileByHeaderMutation, useUploadListItemFileMutation } from '@/query/list' import { ListHeaderConst } from '@/const/listConst' @@ -334,6 +335,26 @@ const ListContactInfoPanel = ({ ) } + if (header.listHderTy === ListHeaderConst.IS_USE) { + return ( + + item} + getLabel={(item) => item} + searchable={false} + preventDeselect + widthClassName="w-full" + heightClassName="h-9" + className={disabledContrastClass} + /> + + ) + } + if (header.listHderTy === ListHeaderConst.CONTENT_ITEM && (header.filterContents?.length ?? 0) > 0) { return (