Skip to content

Commit

Permalink
fix: show "clear delegations" button only when there is existing dele…
Browse files Browse the repository at this point in the history
…gations
  • Loading branch information
wa0x6e committed Dec 1, 2024
1 parent 8059733 commit 6578cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SpaceDelegatesSplitDelegationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ watch(
<span>Add delegate</span>
</TuneButton>
<button
v-if="delegates.length > 0"
v-if="currentDelegations.length > 0"
class="text-red underline hover:opacity-50 text-xs bg-none"
@click="deleteAllDelegates"
>
Expand Down

0 comments on commit 6578cde

Please sign in to comment.