From 9daa0b9380770962b8e913ff55475e2b305fb629 Mon Sep 17 00:00:00 2001 From: shatfield4 Date: Thu, 10 Apr 2025 17:28:20 -0700 Subject: [PATCH] fix customize logo bug on first setup --- server/endpoints/system.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/endpoints/system.js b/server/endpoints/system.js index d15931ade11..05c0cf7c95d 100644 --- a/server/endpoints/system.js +++ b/server/endpoints/system.js @@ -802,7 +802,8 @@ function systemEndpoints(app) { app.get("/system/is-default-logo", async (_, response) => { try { const currentLogoFilename = await SystemSettings.currentLogoFilename(); - const isDefaultLogo = currentLogoFilename === LOGO_FILENAME; + const isDefaultLogo = + !currentLogoFilename || currentLogoFilename === LOGO_FILENAME; response.status(200).json({ isDefaultLogo }); } catch (error) { console.error("Error processing the logo request:", error);