mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
30 lines
651 B
Vue
30 lines
651 B
Vue
<template>
|
|
<section
|
|
class="scenery-authors"
|
|
v-if="station?.generalInfo?.authors && station.generalInfo.authors.length > 0"
|
|
>
|
|
<b>
|
|
{{
|
|
$t(
|
|
'scenery.authors-title',
|
|
{ authors: station.generalInfo.authors.length },
|
|
station.generalInfo.authors.length
|
|
)
|
|
}}:
|
|
</b>
|
|
{{ station.generalInfo.authors.join(', ') }}
|
|
</section>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent, PropType } from 'vue';
|
|
import { Station } from '../../../typings/common';
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
station: {
|
|
type: Object as PropType<Station>
|
|
}
|
|
}
|
|
});
|
|
</script> |