chore: no lead option added in lead select dropdown (#2774)
This commit is contained in:
parent
4fcc66fd54
commit
93abff5a4b
2 changed files with 39 additions and 18 deletions
|
|
@ -6,6 +6,7 @@ import { ProjectMemberService } from "services/project";
|
|||
// ui
|
||||
import { Avatar, CustomSearchSelect } from "@plane/ui";
|
||||
// icons
|
||||
import { Combobox } from "@headlessui/react";
|
||||
import { UserCircle } from "lucide-react";
|
||||
// fetch-keys
|
||||
import { PROJECT_MEMBERS } from "constants/fetch-keys";
|
||||
|
|
@ -59,6 +60,16 @@ export const ModuleLeadSelect: React.FC<Props> = ({ value, onChange }) => {
|
|||
)}
|
||||
</div>
|
||||
}
|
||||
footerOption={
|
||||
<Combobox.Option
|
||||
value=""
|
||||
className="flex items-center justify-between gap-2 cursor-pointer select-none truncate rounded px-1 py-1.5 text-custom-text-200"
|
||||
>
|
||||
<span className="flex items-center justify-start gap-1 text-custom-text-200">
|
||||
<span>No Lead</span>
|
||||
</span>
|
||||
</Combobox.Option>
|
||||
}
|
||||
onChange={onChange}
|
||||
noChevron
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue