From: Daniel Karbach Date: Wed, 21 May 2025 12:36:18 +0000 (+0200) Subject: use translated tournament title if available X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=d3acf74f4ce8edf5d928a2c96d0803dcf02cb242;p=alttp.git use translated tournament title if available --- diff --git a/resources/js/pages/Tournament.js b/resources/js/pages/Tournament.js index 4e6c86c..a374fe9 100644 --- a/resources/js/pages/Tournament.js +++ b/resources/js/pages/Tournament.js @@ -194,7 +194,11 @@ export const Component = () => { return - {tournament.title} + + {(tournament.description + && getTranslation(tournament.description, 'title', i18n.language)) + || tournament.title} + {tournament.description ?