Skip to content

Commit

Permalink
Allow renaming profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Sep 26, 2023
1 parent dae5426 commit e864edf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/EditMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@
>
<p class="overflow-hidden text-sm text-ellipsis ml-7 whitespace-nowrap">{{ profile.name }}</p>
<div class="grow" />
<div
v-if="!store.isDefaultProfile(profile)"
class="icon-btn mdi mdi-trash-can"
@click.stop="store.deleteProfile(profile)"
/>
<template v-if="!store.isDefaultProfile(profile)">
<div class="icon-btn mdi mdi-cog" @click="renameProfile(profile)" />
<div class="icon-btn mdi mdi-trash-can" @click.stop="store.deleteProfile(profile)" />
</template>
</Button>
</div>
<div class="flex mt-2">
Expand Down

0 comments on commit e864edf

Please sign in to comment.