mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-03-13 05:32:24 +00:00
fix: change select option
This commit is contained in:
parent
00c46f6c7c
commit
51db30cc92
1 changed files with 12 additions and 3 deletions
|
@ -141,10 +141,19 @@ export default function ConfluenceOptions() {
|
|||
defaultValue={accessType}
|
||||
onChange={(e) => changeAccessType(e.target.value)}
|
||||
>
|
||||
{["username", "personalToken"].map((type) => {
|
||||
{[
|
||||
{
|
||||
name: "Username and Access Token",
|
||||
value: "username",
|
||||
},
|
||||
{
|
||||
name: "Personal Access Token",
|
||||
value: "personalToken",
|
||||
},
|
||||
].map((type) => {
|
||||
return (
|
||||
<option key={type} value={type}>
|
||||
{type}
|
||||
<option key={type.value} value={type.value}>
|
||||
{type.name}
|
||||
</option>
|
||||
);
|
||||
})}
|
||||
|
|
Loading…
Add table
Reference in a new issue