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 authored and backportbot-nextcloud[bot] committed Jan 11, 2024
1 parent 934a352 commit 911fd90
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 @@ -51,7 +51,7 @@
<ActionList key="text-action--remain"
:action-entry="hiddenEntries">
<template #lastAction="{ visible }">
<NcActionButton @click="showTranslate">
<NcActionButton v-if="canTranslate" @click="showTranslate">
<template #icon>
<TranslateVariant />
</template>
Expand Down

0 comments on commit 911fd90

Please sign in to comment.