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
80f6cb2f
Commit
80f6cb2f
authored
May 12, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
35225f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
33 deletions
+35
-33
src/ui/Duel/Message/SelectActionsModal.tsx
src/ui/Duel/Message/SelectActionsModal.tsx
+35
-33
No files found.
src/ui/Duel/Message/SelectActionsModal.tsx
View file @
80f6cb2f
...
@@ -136,39 +136,41 @@ export const SelectActionsModal = () => {
...
@@ -136,39 +136,41 @@ export const SelectActionsModal = () => {
setResponse
(
values
);
setResponse
(
values
);
}
}
}
}
>
>
<
Row
>
<
Tabs
<
Tabs
type=
"card"
type=
"card"
items=
{
grouped
.
map
((
group
,
idx
)
=>
{
items=
{
grouped
.
map
((
group
,
idx
)
=>
{
return
{
return
{
label
:
fetchStrings
(
"
!system
"
,
group
[
0
]
+
1000
),
label
:
fetchStrings
(
"
!system
"
,
group
[
0
]
+
1000
),
key
:
idx
.
toString
(),
key
:
idx
.
toString
(),
children
:
(
children
:
group
[
1
].
map
((
option
,
idx
)
=>
{
<
Row
>
return
(
{
group
[
1
].
map
((
option
,
idx
)
=>
{
<
Col
span=
{
4
}
key=
{
idx
}
>
return
(
<
HoverCheckCard
<
Col
span=
{
4
}
key=
{
idx
}
>
hoverContent=
{
option
.
effectDesc
}
<
HoverCheckCard
style=
{
{
width
:
120
}
}
hoverContent=
{
option
.
effectDesc
}
cover=
{
style=
{
{
width
:
120
}
}
<
img
cover=
{
alt=
{
option
.
meta
.
id
.
toString
()
}
<
img
src=
{
alt=
{
option
.
meta
.
id
.
toString
()
}
option
.
meta
.
id
src=
{
?
`${NeosConfig.cardImgUrl}/${option.meta.id}.jpg`
option
.
meta
.
id
:
`${NeosConfig.assetsPath}/card_back.jpg`
?
`${NeosConfig.cardImgUrl}/${option.meta.id}.jpg`
}
:
`${NeosConfig.assetsPath}/card_back.jpg`
style=
{
{
width
:
100
}
}
}
/>
style=
{
{
width
:
100
}
}
}
/>
value=
{
option
}
}
/>
value=
{
option
}
</
Col
>
/>
);
</
Col
>
}),
);
};
})
}
})
}
</
Row
>
/>
),
</
Row
>
};
})
}
/>
<
p
>
{
selecteds
.
length
>
0
?
fetchStrings
(
"
!system
"
,
212
)
:
""
}
</
p
>
<
p
>
{
selecteds
.
length
>
0
?
fetchStrings
(
"
!system
"
,
212
)
:
""
}
</
p
>
<
Row
>
<
Row
>
{
selecteds
.
concat
(
mustSelects
).
map
((
option
,
idx
)
=>
{
{
selecteds
.
concat
(
mustSelects
).
map
((
option
,
idx
)
=>
{
...
...
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