Skip to content

Commit

Permalink
AIの教えに従った
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugma committed Jul 6, 2024
1 parent 0acb725 commit c155c46
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/User/AccountListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ defineProps<Props>()
target="_blank"
rel="noreferrer noopener"
>
<a-icon
<img
v-if="services.get(account.type)?.icon !== 'atcoder'"
alt="AtCoder Logo"
:src="AtCoder"
width="24px"
height="24px"
/>
<a-icon
v-else
:name="services.get(account.type)?.icon ?? ''"
:size="24"
/>
<img v-else :src="AtCoder" width="24px" height="24px" />
</a>
</li>
</template>
Expand Down

0 comments on commit c155c46

Please sign in to comment.