you can only join as the call owner when fetching a token

This commit is contained in:
Jon 2021-06-14 17:50:21 +01:00
parent 288748a56c
commit 56d1c92ef8
1 changed files with 5 additions and 3 deletions

View File

@ -47,9 +47,11 @@ export const Intro = ({ room, error, domain, onJoin, fetching = false }) => {
<Field label="Fetch meeting token">
<BooleanInput onChange={(e) => setFetchToken(e.target.checked)} />
</Field>
<Field label="Join as owner">
<BooleanInput onChange={(e) => setOwner(e.target.checked)} />
</Field>
{fetchToken && (
<Field label="Join as owner">
<BooleanInput onChange={(e) => setOwner(e.target.checked)} />
</Field>
)}
</CardBody>
<CardFooter divider>
<Button