Skip to content

Commit

Permalink
allow deletion of first language if there's more than 1 language
Browse files Browse the repository at this point in the history
  • Loading branch information
kkuepper committed Nov 21, 2024
1 parent 20567f0 commit faadc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ProfileMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ const { data: user } = useCurrentUser();
</div>

<button
v-if="i > 0"
v-if="contentLanguages.length > 1"
class="text-2xl"
@click="contentLanguages.splice(i, 1)"
>
Expand Down

0 comments on commit faadc11

Please sign in to comment.