Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#221 - Voyager: Made "my assignments" tab only show the one team you're assigned to #257

Closed
wants to merge 10 commits into from
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ yarn-error.log
# below: temporary
voyager/static/*.css*
voyager/.sst
scoutradioz-utilities/types/utilities.d.ts
8 changes: 4 additions & 4 deletions voyager/src/routes/sync/LeadQRCode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@
</script>

<section class="pad grid grid-cols-1 place-items-center gap-4">
<div class="grid grid-cols-2 gap-4">
<div>
<Select variant="filled" bind:value={qrCodeType} on:MDCSelect:change={handleChange}>
<div class={`grid ${qrCodeType === 'pitscouting' ? 'grid-cols-1' : 'grid-cols-2'} gap-4`}>
<div style="width: 100%; display: flex; justify-content: center;">
<Select variant="filled" bind:value={qrCodeType} on:MDCSelect:change={handleChange} style={`width: ${qrCodeType === 'pitscouting' ? '400px' : 'auto'}; `}>
<Option value="matchscouting">{msg('scouting.match')}</Option>
<Option value="pitscouting">{msg('scouting.pit')}</Option>
<Option value="metadata">{msg('qrsync.usersAndTeams')}</Option>
Expand Down Expand Up @@ -186,4 +186,4 @@
</div>
{/if}
<QrCodeDisplay data={base64Data} />
</section>
</section>