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 <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Jan 10, 2024
1 parent 7f794a9 commit 8825535
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 8825535

Please sign in to comment.