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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
MyCard
Neos
Commits
86a8fa0f
Commit
86a8fa0f
authored
Mar 11, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small
parent
65d8dde5
Pipeline
#20575
passed with stages
in 6 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
+18
-10
src/ui/Duel/cardModal.tsx
src/ui/Duel/cardModal.tsx
+18
-10
No files found.
src/ui/Duel/cardModal.tsx
View file @
86a8fa0f
...
@@ -26,8 +26,8 @@ const CardModal = () => {
...
@@ -26,8 +26,8 @@ const CardModal = () => {
const
meta
=
useAppSelector
(
selectCardModalMeta
);
const
meta
=
useAppSelector
(
selectCardModalMeta
);
const
name
=
meta
?.
text
.
name
;
const
name
=
meta
?.
text
.
name
;
const
desc
=
meta
?.
text
.
desc
;
const
desc
=
meta
?.
text
.
desc
;
const
atk
=
meta
?.
data
.
atk
||
0
;
const
atk
=
meta
?.
data
.
atk
;
const
def
=
meta
?.
data
.
def
||
0
;
const
def
=
meta
?.
data
.
def
;
const
imgUrl
=
meta
?.
id
const
imgUrl
=
meta
?.
id
?
`
${
NeosConfig
.
cardImgUrl
}
/
${
meta
.
id
}
.jpg`
?
`
${
NeosConfig
.
cardImgUrl
}
/
${
meta
.
id
}
.jpg`
:
undefined
;
:
undefined
;
...
@@ -48,17 +48,25 @@ const CardModal = () => {
...
@@ -48,17 +48,25 @@ const CardModal = () => {
<
p
>
{
desc
}
</
p
>
<
p
>
{
desc
}
</
p
>
<
p
>
<
p
>
<
Row
gutter=
{
8
}
>
<
Row
gutter=
{
8
}
>
<
Col
>
{
atk
?
(
<
Icon
component=
{
BattleSvg
}
/>
<
Col
>
<
a
>
{
atk
}
</
a
>
<
Icon
component=
{
BattleSvg
}
/>
</
Col
>
<
a
>
{
atk
}
</
a
>
</
Col
>
)
:
(
<></>
)
}
<
Col
>
<
Col
>
<
div
>
/
</
div
>
<
div
>
/
</
div
>
</
Col
>
</
Col
>
<
Col
>
{
def
?
(
<
Icon
component=
{
DefenceSvg
}
/>
<
Col
>
<
a
>
{
def
}
</
a
>
<
Icon
component=
{
DefenceSvg
}
/>
</
Col
>
<
a
>
{
def
}
</
a
>
</
Col
>
)
:
(
<></>
)
}
</
Row
>
</
Row
>
</
p
>
</
p
>
</
Card
>
</
Card
>
...
...
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