diff --git a/renderer/src/components/EditorPage/Reference/TranslationHelpsMultimediaCard.js b/renderer/src/components/EditorPage/Reference/TranslationHelpsMultimediaCard.js index 13712f2d..2666471d 100644 --- a/renderer/src/components/EditorPage/Reference/TranslationHelpsMultimediaCard.js +++ b/renderer/src/components/EditorPage/Reference/TranslationHelpsMultimediaCard.js @@ -106,11 +106,10 @@ export default function TranslationHelpsMultimediaCard({ if (localizedNameTmp && localizedNameTmp.short) { localizedNameTmp = localizedNameTmp.short[i18n.language] ?? localizedNameTmp.short.en ?? ''; tabName = localizedNameTmp.split('.'); - finalImagePaths.push([tabName[0], realPath]); } else { tabName = dashedNameSplited.split('.'); - finalImagePaths.push([tabName[0], realPath]); } + finalImagePaths.push([tabName[0], realPath]); } } }