this-fifo/jutsu

Help with InterfaceConfigOverwrite

Closed this issue · 2 comments

Hello,

I'm using jutsu to build an helpdesk application.
At this point I would like to remove some unnecessary buttons, but I can't figure out how to do it.

This is what I am using at the moment:

<Jutsu domain='jitsi.osl.frl'
        roomName='dev'
        displayName={studentName}
        onMeetingEnd={() => console.log('Meeting has ended')}
        loadingComponent={<p>loading ...</p>}
        errorComponent={<p>Oops, something went wrong</p>} 
        InterfaceConfigOverwrite={{
                DEFAULT_BACKGROUND: '#FFFFFF', 
                TOOLBAR_BUTTONS: ['microphone', 'camera', 'tileview']
        }}
 />

Both the DEFAULT_BACKGROUND and TOOLBAR_BUTTONS are not working for me.
Am I forgetting something, or am I doing it completely wrong?

Please let me know,

-Jelmer

Hey @jhalff I believe js is case sensitive when it comes to props, looks like you have InterfaceConfigOverwrite instead of interfaceConfigOverwrite

After hours of coding and brain farting, I didn't see the capital letter at the start of the prop.
Thank you for your response, I'm going to relax for a while now!