Made minor fix to orborus

This commit is contained in:
frikky
2022-04-21 15:10:19 +02:00
parent 24c25a9aa9
commit 240a03a9a5
2 changed files with 27 additions and 20 deletions
+14 -12
View File
@@ -305,18 +305,20 @@ const App = (message, props) => {
setCurpath={setCurpath}
/>
{!isLoaded ? null :
<Drift
appId="zfk9i7w3yizf"
attributes={{
name: userdata.username === undefined || userdata.username === null ? "OSS user" : `${userdata.username} - OSS`,
}}
eventHandlers={[
{
event: "conversation:firstInteraction",
function: handleFirstInteraction
},
]}
/>
userdata.chat_disabled === true ? null :
<Drift
appId="zfk9i7w3yizf"
attributes={{
name: userdata.username === undefined || userdata.username === null ? "OSS user" : `${userdata.username} - OSS`,
}}
eventHandlers={[
{
event: "conversation:firstInteraction",
function: handleFirstInteraction
},
]}
/>
}
<Header
notifications={notifications}