Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
2cde49d7
Commit
2cde49d7
authored
3 months ago
by
Dima Rifai
Committed by
mcfarhat
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#394
- Remove Balance History Link
parent
297e0285
No related branches found
No related tags found
2 merge requests
!507
Delrifai/#394 2 add charts to balance history
,
!503
Delrifai/#394 add charts to balance history
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/account/AccountBalanceCard.tsx
+11
-2
11 additions, 2 deletions
components/account/AccountBalanceCard.tsx
with
11 additions
and
2 deletions
components/account/AccountBalanceCard.tsx
+
11
−
2
View file @
2cde49d7
...
...
@@ -10,6 +10,15 @@ import {
grabNumericValue
,
}
from
"
@/utils/StringUtils
"
;
import
{
cn
,
formatNumber
}
from
"
@/lib/utils
"
;
import
Link
from
"
next/link
"
;
import
{
FontAwesomeIcon
}
from
"
@fortawesome/react-fontawesome
"
;
import
{
faHistory
}
from
"
@fortawesome/free-solid-svg-icons
"
;
import
{
Tooltip
,
TooltipProvider
,
TooltipTrigger
,
TooltipContent
,
}
from
"
@radix-ui/react-tooltip
"
;
type
AccountBalanceCardProps
=
{
header
:
string
;
userDetails
:
Explorer
.
FormattedAccountDetails
;
...
...
@@ -162,8 +171,8 @@ const AccountBalanceCard: React.FC<AccountBalanceCardProps> = ({
className
=
"flex justify-between items-center p-2 hover:bg-rowHover cursor-pointer px-4"
>
<
div
className
=
"text-lg"
>
{
header
}
</
div
>
</
div
>
<
span
>
{
isBalancesHidden
?
<
ArrowDown
/>
:
<
ArrowUp
/>
}
</
span
>
</
div
>
</
CardHeader
>
<
CardContent
hidden
=
{
isBalancesHidden
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment