pinafore/src/routes/accounts/[accountId]/media.html

27 lines
682 B
HTML

<!-- TODO: this should probably be formatted as intl rather than concatenated -->
<Title name="{profileName}{intl.profileWithMedia}" />
<LazyPage {pageComponent} {params} />
<script>
import Title from '../../_components/Title.html'
import LazyPage from '../../_components/LazyPage.html'
import pageComponent from '../../_pages/accounts/[accountId]/media.html'
export default {
components: {
Title,
LazyPage
},
data: () => ({
pageComponent
}),
computed: {
profileName: ({ $currentAccountProfile }) => {
return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || ''
}
}
}
</script>