Skip to content

Commit

Permalink
use UI_LOGO if UI_CHAT_LOGO has no value
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Seabock (Centific Technologies Inc) committed Jul 11, 2024
1 parent d2cb933 commit 871430d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Chat = () => {

useEffect(() => {
if (!appStateContext?.state.isLoading) {
setLogo(ui?.logo || Contoso)
setLogo(ui?.chat_logo || ui?.logo || Contoso)
}
}, [appStateContext?.state.isLoading])

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/x-icon" href="{{ favicon }}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ title }}</title>
<script type="module" crossorigin src="/assets/index-9c158d2d.js"></script>
<script type="module" crossorigin src="/assets/index-96b2bdb7.js"></script>
<link rel="stylesheet" href="/assets/index-61492790.css">
</head>
<body>
Expand Down

0 comments on commit 871430d

Please sign in to comment.