Skip to content

Commit

Permalink
Merge pull request #5229 from nextcloud/bugfix/noid/translate
Browse files Browse the repository at this point in the history
fix: Only show translate if providers are available
  • Loading branch information
juliusknorr authored Jan 11, 2024
2 parents 7f794a9 + 8825535 commit a5b517a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
:can-be-focussed="activeMenuEntry === visibleEntries.length"
@click="activeMenuEntry = 'remain'">
<template #lastAction="{ visible }">
<NcActionButton @click="showTranslate">
<NcActionButton v-if="canTranslate" @click="showTranslate">
<template #icon>
<TranslateVariant />
</template>
Expand Down

0 comments on commit a5b517a

Please sign in to comment.