Skip to content

Commit

Permalink
Disable lock
Browse files Browse the repository at this point in the history
  • Loading branch information
EarlOld committed Jun 11, 2024
1 parent c86ba4e commit 55fbbf2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const props = defineProps<{

<template>
<div class="max-w-32" v-if="props.row">
<UButton
<!-- <UButton
v-if="!props.isLocked"
size="xl"
color="orange"
Expand All @@ -27,9 +27,9 @@ const props = defineProps<{
>
<div class="text-sm font-medium">Lock</div>
<div>Lock 100 $ATOR</div>
</UButton>
</UButton> -->
<UButton
v-else-if="props.row.status === 'claimable' && props.isLocked"
v-if="props.row.status === 'claimable'"
size="xl"
color="green"
variant="solid"
Expand All @@ -40,7 +40,7 @@ const props = defineProps<{
block
/>
<UButton
v-else-if="props.row.status === 'verified' || props.isLocked"
v-else-if="props.row.status === 'verified'"
icon="i-heroicons-check-circle-solid"
size="xl"
color="green"
Expand Down
16 changes: 8 additions & 8 deletions constants/relay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const defaultColumns: {
key: 'observedBandwidth',
label: 'Observed bandwidth',
},
{
key: 'lockStatus',
label: 'Lock Status',
},
// {
// key: 'lockStatus',
// label: 'Lock Status',
// },
{
key: 'status',
label: 'Registration Status',
Expand Down Expand Up @@ -83,10 +83,10 @@ export const TABS = [
label: 'Claimable relays',
key: 'claimable',
},
{
label: 'Locked Relays',
key: 'locked',
},
// {
// label: 'Locked Relays',
// key: 'locked',
// },
];

export const VERBS = {
Expand Down
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const handleClaimAllRewards = async () => {
<p class="ml-1 mt-2 text-sm"><Ticker /> Account balance</p>
</UserBalance>
</div>
<div class="flex flex-col border-l-4 border-cyan-600 pl-3">
<!-- <div class="flex flex-col border-l-4 border-cyan-600 pl-3">
<h3>
<Icon name="material-symbols:lock" />
Locked
Expand All @@ -124,7 +124,7 @@ const handleClaimAllRewards = async () => {
<span v-if="!isConnected" class="text-4xl font-bold"> -- </span>
<Ticker />
</div>
</div>
</div> -->
</div>
</Card>
</DashboardMobileSection>
Expand Down

0 comments on commit 55fbbf2

Please sign in to comment.