employer uid payload added

This commit was merged in pull request #59.
This commit is contained in:
victorAnumudu
2024-06-11 19:01:16 +01:00
parent fc7edec093
commit 409acd300d
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -105,7 +105,7 @@ const InputCompOne = forwardRef<HTMLInputElement, InputCompOneProps>(
>
{selectOptions.loading ?
<option value=''>Loading...</option>
: selectOptions.data.length && name == 'employer' ?
: selectOptions.data.length && name == 'employer_uid' ?
<>
<option value=''>Please Select</option>
{selectOptions.data.map(({ uid, name }) => (
@@ -114,7 +114,7 @@ const InputCompOne = forwardRef<HTMLInputElement, InputCompOneProps>(
</option>
))}
</>
: selectOptions.data.length && name != 'employer' ?
: selectOptions.data.length && name != 'employer_uid' ?
selectOptions.data.map(({ value, label }) => (
<option key={value} value={value}>
{label}