Skip to content

Commit

Permalink
fix: Only show translate if providers are available
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot-nextcloud[bot] committed Jan 11, 2024
1 parent 70c430f commit d1d5782
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 d1d5782

Please sign in to comment.