Skip to content

Commit

Permalink
refactor(User card): remove settings from action menu. closes #986
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 26, 2024
1 parent 1dafd62 commit d1470e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/UserActionMenuButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
{{ $t('Common.User') }}
</v-list-subheader>
<v-divider />
<v-list-item :slim="true" prepend-icon="mdi-cog-outline" to="/settings">
{{ $t('UserDashboard.Settings') }}
</v-list-item>
<ShareLink :overrideUrl="getShareLinkUrl" display="list-item" />
<OpenFoodFactsLink facet="editor" :value="user.user_id" display="list-item" />
</v-list>
Expand Down Expand Up @@ -42,7 +39,7 @@ export default {
username() {
return this.appStore.user.username
},
userIsPriceOwner() {
userIsOwner() {
return this.username && (this.user.user_id === this.username)
},
getShareLinkUrl() {
Expand Down

0 comments on commit d1470e3

Please sign in to comment.