mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 05:48:11 +00:00
chore(journal): added language flags to journal entries
This commit is contained in:
@@ -72,7 +72,9 @@
|
||||
<strong>{{ timetable.driverName }}</strong>
|
||||
</router-link>
|
||||
|
||||
<div v-if="timetable.driverLanguageId != null"></div>
|
||||
<div v-if="timetable.driverLanguageId != null">
|
||||
<FlagIcon :language-id="timetable.driverLanguageId" width="1.5em" />
|
||||
</div>
|
||||
</span>
|
||||
|
||||
<span class="general-time">
|
||||
@@ -112,9 +114,10 @@ import dateMixin from '../../../mixins/dateMixin';
|
||||
import styleMixin from '../../../mixins/styleMixin';
|
||||
import { useApiStore } from '../../../store/apiStore';
|
||||
import trainCategoryMixin from '../../../mixins/trainCategoryMixin';
|
||||
import { getLanguageNameById } from '../../../utils/languageUtils';
|
||||
import FlagIcon from '../../Global/FlagIcon.vue';
|
||||
|
||||
export default defineComponent({
|
||||
components: { FlagIcon },
|
||||
mixins: [dateMixin, styleMixin, trainCategoryMixin],
|
||||
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user