fix(frontend): add arbitrary scopes to connect an app

This commit is contained in:
Ruben Fiszel
2022-07-14 14:40:06 +02:00
parent 50bc14c39f
commit 372b14e158

View File

@@ -198,9 +198,9 @@
<button
class="default-button-secondary mt-1"
on:click={() => {
resource_type = resource_type.concat('')
scopes = scopes.concat('')
}}>Add item &nbsp;<Icon data={faPlus} class="mb-1" /></button
><span class="ml-2">{(resource_type ?? []).length} item(s)</span>
><span class="ml-2">{(scopes ?? []).length} item(s)</span>
{:else}
<p class="italic text-sm">Pick an oauth app and customize the scopes here</p>
{/if}