mirror of
https://github.com/owncloud/ocis.git
synced 2026-10-23 23:29:02 +03:00
A theme can define its own logo per UI variant under clients.web.themes[].logo, including the built-in "owncloud" theme, most of whose variants (dark, high contrast, ...) already do this. The admin logo upload endpoint only ever patched clients.web.defaults.logo, so the active theme's own per-variant logo kept winning over a logo an admin explicitly uploaded through the admin settings web app. Force the branding (admin-uploaded) logo onto every theme variant's own logo entries after the theme merge, so it always takes precedence. Signed-off-by: Lukas Hirt <info@hirt.cz>