Skip to content

Commit

Permalink
refactor: prevent extension logic when disabled (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored May 2, 2024
1 parent 098eeb9 commit 140e060
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,16 @@ class="whitespace-nowrap"
delegate-name-class="md:w-[100px] md-lg:w-auto"
/>

<div x-show="votingForAddress === '{{ $delegate->address() }}'">
<div data-tippy-content="@lang('pages.delegates.arkconnect.voting_for_tooltip')">
<x-ark-icon
name="check-mark-box"
size="sm"
/>
@if (config('arkscan.arkconnect.enabled'))
<div x-show="votingForAddress === '{{ $delegate->address() }}'">
<div data-tippy-content="@lang('pages.delegates.arkconnect.voting_for_tooltip')">
<x-ark-icon
name="check-mark-box"
size="sm"
/>
</div>
</div>
</div>
@endif
</div>
</x-ark-tables.cell>

Expand Down

0 comments on commit 140e060

Please sign in to comment.