From f282b10c05e02ee7722433f15d180ed864271382 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sat, 14 Oct 2023 16:42:46 -0400 Subject: [PATCH] hide empty strings in isbns --- frontend/files/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/files/app.js b/frontend/files/app.js index ae1b25b..2067c13 100644 --- a/frontend/files/app.js +++ b/frontend/files/app.js @@ -154,7 +154,7 @@ function BookTemplate({

${title}

${authors}

- ${[isbn10, isbn13].join(" / ")}
+ ${[isbn10, isbn13].filter((v) => v != "").join(" / ")}
${publisher}, ${year}
${ series