{{ selected.title }}
{{ selected.body }}
From f35d1e4ef215e7cf03dabac50e9f1bdc349c274a Mon Sep 17 00:00:00 2001 From: "smx.pusha" <139338836+smxpusha@users.noreply.github.com> Date: Wed, 12 Aug 2026 08:06:08 +0200 Subject: [PATCH] ENH - share Local Pages posts from feed --- frontend/src/views/apps/LocalPagesApp.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/apps/LocalPagesApp.vue b/frontend/src/views/apps/LocalPagesApp.vue index 095ff83..6ce5132 100644 --- a/frontend/src/views/apps/LocalPagesApp.vue +++ b/frontend/src/views/apps/LocalPagesApp.vue @@ -266,16 +266,15 @@ function openCityMarktListing(): void { }) } -function sharePost(): void { - if (!selected.value) return +function sharePost(post: PagesPost): void { easyShare.open({ appId: 'local-pages', - copyText: `${selected.value.title}\n${selected.value.body}`, - id: selected.value.id, + copyText: `${post.title}\n${post.body}`, + id: post.id, kind: 'post', - link: `skyphone://local-pages/post/${selected.value.id}`, - subtitle: `@${selected.value.author_name}`, - title: selected.value.title, + link: `skyphone://local-pages/post/${post.id}`, + subtitle: `@${post.author_name}`, + title: post.title, }) } @@ -362,6 +361,7 @@ onMounted(async () => {
{{ selected.body }}