From 6679083789062777a2c10461c989fe4be6b1def6 Mon Sep 17 00:00:00 2001 From: MCMichinator Date: Mon, 7 Apr 2025 05:24:51 +0200 Subject: [PATCH] =?UTF-8?q?buchdetailseite:=20Umsetzung=20von=20PowerPoint?= =?UTF-8?q?=20Layout,=20sowie=20zus=C3=A4tliche=20Idee=20"Community-Statis?= =?UTF-8?q?tik"=20usw.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/buchdetailseite/[id].vue | 275 ++++++++++++++++++++--------- 1 file changed, 193 insertions(+), 82 deletions(-) diff --git a/src/pages/buchdetailseite/[id].vue b/src/pages/buchdetailseite/[id].vue index 11c0126..b5ad8c0 100644 --- a/src/pages/buchdetailseite/[id].vue +++ b/src/pages/buchdetailseite/[id].vue @@ -1,102 +1,213 @@ +const authorBooks = computed(() => { + if (!book?.authors?.[0]?.name) return [] + return books.filter(b => b.authors?.[0]?.name === book.authors[0].name && b.id !== book.id) +}) - +