translated라는 이름이 중복 사용되어 생기던 name shadow 문제 해결
This commit is contained in:
@@ -835,9 +835,9 @@ class AudioContentService(
|
||||
val theme = audioContent.theme
|
||||
if (theme?.id != null) {
|
||||
val locale = langContext.lang.code
|
||||
val translated = contentThemeTranslationRepository
|
||||
val translatedContentTheme = contentThemeTranslationRepository
|
||||
.findByContentThemeIdAndLocale(theme.id!!, locale)
|
||||
val text = translated?.theme
|
||||
val text = translatedContentTheme?.theme
|
||||
if (!text.isNullOrBlank()) text else theme.theme
|
||||
} else {
|
||||
audioContent.theme!!.theme
|
||||
|
||||
Reference in New Issue
Block a user