itube-specs 0.0.1010 → 0.0.1011
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<InfoMain
|
|
9
9
|
v-if="categoryInfoResult && isFirstPage"
|
|
10
|
-
:key="`info-${
|
|
10
|
+
:key="`info-${categoryInfoResult.title}`"
|
|
11
11
|
:card="categoryInfoResult"
|
|
12
12
|
type="category"
|
|
13
13
|
class="category__info"
|
|
@@ -121,7 +121,7 @@ const modelsRoundCards = computed(() =>
|
|
|
121
121
|
);
|
|
122
122
|
|
|
123
123
|
const categoryInfoResult = computed(() => ({
|
|
124
|
-
title: categoryInfo.value?.header,
|
|
124
|
+
title: categoryInfo.value?.header || categoryInfo.value?.title,
|
|
125
125
|
description: categoryInfo.value?.description,
|
|
126
126
|
videosCount: categoryInfo.value?.videosCount,
|
|
127
127
|
guid: categoryInfo.value?.guid,
|
|
@@ -137,7 +137,7 @@ const relatedSearch = computed(() => relatedSearchRaw.value?.items?.map(item =>
|
|
|
137
137
|
const relatedCategories = computed(() => categoryInfo.value?.related);
|
|
138
138
|
|
|
139
139
|
const title = computed(() => categoryInfo.value?.title || '');
|
|
140
|
-
const metaTitle = computed(() => categoryInfo.value?.metaTitle ||
|
|
140
|
+
const metaTitle = computed(() => categoryInfo.value?.metaTitle || title.value);
|
|
141
141
|
const pageNumber = computed(() => route.query?.[ 'page' ] ? Number(route.query[ 'page' ]) : 1);
|
|
142
142
|
const pageText = computed(() => unref(pageNumber) === 1 ? '' : ` ${t('page')} ${unref(pageNumber)}`);
|
|
143
143
|
|