Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
3fea5ac2
Commit
3fea5ac2
authored
Feb 17, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix address intrenal txs
parent
772ad9ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
25 deletions
+24
-25
zIndices.ts
theme/foundations/zIndices.ts
+0
-1
AddressInternalTxs.tsx
ui/address/AddressInternalTxs.tsx
+23
-23
TheadSticky.tsx
ui/shared/TheadSticky.tsx
+1
-1
No files found.
theme/foundations/zIndices.ts
View file @
3fea5ac2
...
@@ -3,7 +3,6 @@ const zIndices = {
...
@@ -3,7 +3,6 @@ const zIndices = {
auto
:
'
auto
'
,
auto
:
'
auto
'
,
base
:
0
,
base
:
0
,
docked
:
10
,
docked
:
10
,
overDocked
:
11
,
tooltip
:
900
,
tooltip
:
900
,
dropdown
:
1000
,
dropdown
:
1000
,
sticky
:
1100
,
sticky
:
1100
,
...
...
ui/address/AddressInternalTxs.tsx
View file @
3fea5ac2
...
@@ -43,29 +43,29 @@ const AddressInternalTxs = ({ scrollRef }: {scrollRef?: React.RefObject<HTMLDivE
...
@@ -43,29 +43,29 @@ const AddressInternalTxs = ({ scrollRef }: {scrollRef?: React.RefObject<HTMLDivE
onFilterChange
({
filter
:
newVal
});
onFilterChange
({
filter
:
newVal
});
},
[
onFilterChange
]);
},
[
onFilterChange
]);
if
(
isLoading
)
{
const
content
=
(()
=>
{
return
(
if
(
isError
)
{
<>
return
<
DataFetchAlert
/>;
<
Show
below=
"lg"
ssr=
{
false
}
><
AddressIntTxsSkeletonMobile
/></
Show
>
}
<
Hide
below=
"lg"
ssr=
{
false
}
><
AddressIntTxsSkeletonDesktop
/></
Hide
>
</>
if
(
isLoading
)
{
);
return
(
}
<>
<
Show
below=
"lg"
ssr=
{
false
}
><
AddressIntTxsSkeletonMobile
/></
Show
>
<
Hide
below=
"lg"
ssr=
{
false
}
><
AddressIntTxsSkeletonDesktop
/></
Hide
>
</>
);
}
if
(
data
.
items
.
length
===
0
&&
!
filterValue
)
{
return
<
Text
as=
"span"
>
There are no internal transactions for this address.
</
Text
>;
}
if
(
data
.
items
.
length
===
0
)
{
return
<
EmptySearchResult
text=
{
`Couldn${ apos }t find any transaction that matches your query.`
}
/>;
}
if
(
isError
)
{
return
(
return
<
DataFetchAlert
/>;
}
if
(
data
.
items
.
length
===
0
&&
!
filterValue
)
{
return
<
Text
as=
"span"
>
There are no internal transactions for this address.
</
Text
>;
}
let
content
;
if
(
data
.
items
.
length
===
0
)
{
content
=
<
EmptySearchResult
text=
{
`Couldn${ apos }t find any transaction that matches your query.`
}
/>;
}
else
{
content
=
(
<>
<>
<
Show
below=
"lg"
ssr=
{
false
}
>
<
Show
below=
"lg"
ssr=
{
false
}
>
<
AddressIntTxsList
data=
{
data
.
items
}
currentAddress=
{
hash
}
/>
<
AddressIntTxsList
data=
{
data
.
items
}
currentAddress=
{
hash
}
/>
...
@@ -75,7 +75,7 @@ const AddressInternalTxs = ({ scrollRef }: {scrollRef?: React.RefObject<HTMLDivE
...
@@ -75,7 +75,7 @@ const AddressInternalTxs = ({ scrollRef }: {scrollRef?: React.RefObject<HTMLDivE
</
Hide
>
</
Hide
>
</>
</>
);
);
}
}
)();
return
(
return
(
<>
<>
...
...
ui/shared/TheadSticky.tsx
View file @
3fea5ac2
...
@@ -36,7 +36,7 @@ const TheadSticky = ({ top, children, ...restProps }: Props) => {
...
@@ -36,7 +36,7 @@ const TheadSticky = ({ top, children, ...restProps }: Props) => {
top
:
`
${
top
}
px`
||
0
,
top
:
`
${
top
}
px`
||
0
,
backgroundColor
:
useColorModeValue
(
'
white
'
,
'
black
'
),
backgroundColor
:
useColorModeValue
(
'
white
'
,
'
black
'
),
boxShadow
:
isSticky
?
'
md
'
:
'
none
'
,
boxShadow
:
isSticky
?
'
md
'
:
'
none
'
,
zIndex
:
'
overDocked
'
,
zIndex
:
'
1
'
,
};
};
return
(
return
(
...
...
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