1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

fix: set meta description and image for shared recipes (#1635)

This commit is contained in:
Philipp Fischbeck 2022-09-10 19:29:21 +02:00 committed by GitHub
parent 25c40b8abf
commit 1c938cb835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 18 deletions

View file

@ -267,8 +267,8 @@ export default defineComponent({
/** =============================================================
* Meta Tags
*/
const metaData = useRecipeMeta(ref(props.recipe));
useMeta(metaData);
const { recipeMeta } = useRecipeMeta();
useMeta(recipeMeta(ref(props.recipe)));
const { user } = usePageUser();