Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: do not allow the last profile to be removed (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-a-m-l authored and alexbarnsley committed Apr 30, 2019
1 parent e48878d commit d97bf77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/pages/Profile/ProfileAll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
</RouterLink>

<button
v-if="profiles.length > 1"
class="ProfileAll__grid__profile__delete font-semibold flex text-xs cursor-pointer text-theme-page-text-light hover:underline hover:text-red"
@click="openRemovalConfirmation(profile)"
>
Expand Down

0 comments on commit d97bf77

Please sign in to comment.