fix: intake work item creation refactor

This commit is contained in:
sriram veeraghanta 2025-02-25 17:56:11 +05:30
parent d08bce35a3
commit 6356bb1dbb
2 changed files with 2 additions and 1 deletions

View file

@ -234,11 +234,11 @@ export const StateDropdown: React.FC<Props> = observer((props) => {
filteredOptions.length > 0 ? ( filteredOptions.length > 0 ? (
filteredOptions.map((option) => ( filteredOptions.map((option) => (
<StateOption <StateOption
{...props}
key={option.value} key={option.value}
option={option} option={option}
selectedValue={value} selectedValue={value}
className="flex w-full cursor-pointer select-none items-center justify-between gap-2 truncate rounded px-1 py-1.5" className="flex w-full cursor-pointer select-none items-center justify-between gap-2 truncate rounded px-1 py-1.5"
{...props}
/> />
)) ))
) : ( ) : (

View file

@ -61,6 +61,7 @@ export const InboxIssueProperties: FC<TInboxIssueProperties> = observer((props)
projectId={projectId} projectId={projectId}
buttonVariant="border-with-text" buttonVariant="border-with-text"
tabIndex={getIndex("state_id")} tabIndex={getIndex("state_id")}
isForWorkItemCreation={!data?.id}
/> />
</div> </div>