fix(front): search translations and layout
This commit is contained in:
parent
b913eb8dc6
commit
aee2eaa0ec
|
@ -19,7 +19,6 @@ import RadioButton from '~/components/radios/Button.vue'
|
|||
import TagsList from '~/components/tags/List.vue'
|
||||
|
||||
import Modal from '~/components/ui/Modal.vue'
|
||||
import Button from '~/components/ui/Button.vue'
|
||||
import Spacer from '~/components/ui/Spacer.vue'
|
||||
import Input from '~/components/ui/Input.vue'
|
||||
import Section from '~/components/ui/Section.vue'
|
||||
|
@ -189,7 +188,7 @@ const categories = computed(() => [
|
|||
},
|
||||
{
|
||||
type: 'rss',
|
||||
label: t('views.Search.label.rss'),
|
||||
label: t('views.Search.header.rss'),
|
||||
endpoint: '/channels/rss-subscribe/',
|
||||
post: true,
|
||||
params: {
|
||||
|
@ -198,7 +197,7 @@ const categories = computed(() => [
|
|||
},
|
||||
{
|
||||
type: 'federation',
|
||||
label: t('views.Search.label.fetches'),
|
||||
label: t('views.Search.header.remote'),
|
||||
endpoint: '/federation/fetches/',
|
||||
post: true,
|
||||
params: {
|
||||
|
@ -434,7 +433,7 @@ watch(queryDebounced, search, { immediate: true })
|
|||
>
|
||||
<Section
|
||||
align-left
|
||||
no-items
|
||||
:columns-per-item="1"
|
||||
:h3="`${
|
||||
!isCategoryQueried(category)
|
||||
? '...'
|
||||
|
@ -516,8 +515,8 @@ watch(queryDebounced, search, { immediate: true })
|
|||
/>
|
||||
<Link
|
||||
v-else-if="'more' in category"
|
||||
ghost
|
||||
full
|
||||
solid
|
||||
secondary
|
||||
:to="category.more"
|
||||
>
|
||||
{{ t('components.Home.link.viewMore') }}
|
||||
|
|
Loading…
Reference in New Issue