Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
1bd7cf3d
Commit
1bd7cf3d
authored
Jun 21, 2023
by
timel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [select action modal] card zone select
parent
017bdebd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
43 deletions
+50
-43
src/ui/Duel/Message/NewSelectActionModal/index.tsx
src/ui/Duel/Message/NewSelectActionModal/index.tsx
+50
-43
No files found.
src/ui/Duel/Message/NewSelectActionModal/index.tsx
View file @
1bd7cf3d
...
@@ -171,7 +171,9 @@ export const NewSelectActionsModal: FC = () => {
...
@@ -171,7 +171,9 @@ export const NewSelectActionsModal: FC = () => {
selectedZone=
{
selectedZone
}
selectedZone=
{
selectedZone
}
onChange=
{
setSelectedZone
as
any
}
onChange=
{
setSelectedZone
as
any
}
/>
/>
{
grouped
.
map
((
options
,
i
)
=>
(
{
grouped
.
map
(
(
options
,
i
)
=>
options
[
0
]
===
selectedZone
&&
(
<
div
className=
"checkcard-container"
key=
{
i
}
>
<
div
className=
"checkcard-container"
key=
{
i
}
>
<
CheckCard
.
Group
<
CheckCard
.
Group
onChange=
{
setResponse
as
any
}
onChange=
{
setResponse
as
any
}
...
@@ -184,7 +186,11 @@ export const NewSelectActionsModal: FC = () => {
...
@@ -184,7 +186,11 @@ export const NewSelectActionsModal: FC = () => {
}
}
}
}
>
>
{
options
[
1
].
map
((
card
,
j
)
=>
(
{
options
[
1
].
map
((
card
,
j
)
=>
(
<
Tooltip
title=
{
card
.
effectDesc
}
placement=
"bottom"
key=
{
j
}
>
<
Tooltip
title=
{
card
.
effectDesc
}
placement=
"bottom"
key=
{
j
}
>
<
div
>
<
div
>
<
CheckCard
<
CheckCard
cover=
{
cover=
{
...
@@ -216,7 +222,8 @@ export const NewSelectActionsModal: FC = () => {
...
@@ -216,7 +222,8 @@ export const NewSelectActionsModal: FC = () => {
))
}
))
}
</
CheckCard
.
Group
>
</
CheckCard
.
Group
>
</
div
>
</
div
>
))
}
)
)
}
</
Space
>
</
Space
>
</
div
>
</
div
>
</
NeosModal
>
</
NeosModal
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment