Skip to content

Commit

Permalink
fix(DashboardValidatorSubsetListHeader): replace desktop icons
Browse files Browse the repository at this point in the history
See: BEDS-1041
  • Loading branch information
marcel-bitfly committed Dec 10, 2024
1 parent f99716c commit 7410c7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"DashboardTableValidators",
"DashboardValidatorManagmentModal",
"DashboardValidatorSubsetList",
"DashboardValidatorSubsetListHeader",
"NotificationMachinesTable",
"NotificationsClientsTable",
"NotificationsDashboardDialogEntity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const icon = computed(() => {
let slotVizCategory: SlotVizCategories | undefined
switch (props.category) {
case 'deposited':
case 'exited':
case 'exited_withdrawing':
case 'exited_withdrawn':
icon = faMoneyBill
break
case 'got_slashed':
Expand Down Expand Up @@ -57,6 +60,10 @@ const icon = computed(() => {
className = 'positive'
slotVizCategory = 'proposal'
break
case 'slashed':
case 'slashed_withdrawing':
slotVizCategory = 'slashing'
break
case 'sync_current':
className = 'positive'
slotVizCategory = 'sync'
Expand Down

0 comments on commit 7410c7c

Please sign in to comment.