Skip to content

Commit

Permalink
fix(logo) condition for microcloud is presence of user.microcloud, no…
Browse files Browse the repository at this point in the history
…t dependant on the actual value itself

Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd committed Nov 20, 2024
1 parent a4ea925 commit d5bf45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Logo: FC = () => {
const { project, isLoading } = useProject();
const { data: settings } = useSettings();

const isMicroCloud = settings?.config?.["user.microcloud"] === "true";
const isMicroCloud = Boolean(settings?.config?.["user.microcloud"]);
const src = isMicroCloud
? "/ui/assets/img/microCloud-logo.svg"
: "/ui/assets/img/lxd-logo.svg";
Expand Down

0 comments on commit d5bf45b

Please sign in to comment.