fix: can not translate title by action

close #1957
This commit is contained in:
Stephen Zhou
2024-12-01 22:11:11 +08:00
parent 36cdbbd706
commit ef68baeb29
@@ -15,7 +15,7 @@ export const EntryTranslation: Component<{
useOverlay?: boolean
isHTML?: boolean
}> = ({ source, target, showTranslation, className, side, useOverlay, isHTML }) => {
}> = ({ source, target, showTranslation = true, className, side, useOverlay, isHTML }) => {
let nextTarget = target
if (source === target) {
nextTarget = undefined