From c9a221167b790daf9144ece3e2118a98d5dd1d20 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 2 Feb 2023 11:03:41 -0800 Subject: [PATCH] fix komga widget --- public/locales/en/common.json | 5 +++++ src/widgets/komga/component.jsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index f144182f..3d9890f3 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -454,5 +454,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } \ No newline at end of file diff --git a/src/widgets/komga/component.jsx b/src/widgets/komga/component.jsx index 06d9154e..9d6c406f 100644 --- a/src/widgets/komga/component.jsx +++ b/src/widgets/komga/component.jsx @@ -17,7 +17,7 @@ export default function Component({ service }) { return ; } - if (!libraryError || !seriesError || !bookError) { + if (!libraryData || !seriesData || !bookData) { return (