@fy-/fws-vue 2.0.19 → 2.0.20
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/composables/seo.ts +2 -2
- package/package.json +1 -1
package/composables/seo.ts
CHANGED
|
@@ -94,7 +94,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
|
|
|
94
94
|
twitterTitle: () => seoData.value.title,
|
|
95
95
|
twitterDescription: () => seoData.value.description,
|
|
96
96
|
ogImageAlt: () => {
|
|
97
|
-
if (
|
|
97
|
+
if (seoData.value.image) {
|
|
98
98
|
return seoData.value.title;
|
|
99
99
|
}
|
|
100
100
|
return undefined;
|
|
@@ -103,7 +103,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
|
|
|
103
103
|
twitterCreator: () => seoData.value.twitterCreator,
|
|
104
104
|
twitterSite: () => seoData.value.twitterCreator,
|
|
105
105
|
twitterImageAlt: () => {
|
|
106
|
-
if (
|
|
106
|
+
if (seoData.value.image) {
|
|
107
107
|
return seoData.value.title;
|
|
108
108
|
}
|
|
109
109
|
return undefined;
|