fossasia / eventyay-video

https://video-dev.eventyay.com
Apache License 2.0
1.49k stars 23 forks source link

Fix issue track filter label not showing correct #213

Closed odkhang closed 2 months ago

odkhang commented 2 months ago

Instead of showing object, showing track name with correct user language

image

image

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request addresses the issue where the track filter label was not showing correctly by updating the template to use a new method getTrackName. This method handles the localization of track names based on the user's language preference stored in localStorage.

File-Level Changes

Files Changes
webapp/src/views/schedule/index.vue Updated the track name display logic to support localization by introducing a new method getTrackName.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.