1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-16 10:46:11 +00:00

fix: remove limit of 20 callback URLs

This commit is contained in:
Elias Schneider
2025-04-20 16:32:11 +02:00
parent eb689eb56e
commit c37a3e0ed1

View File

@@ -20,8 +20,6 @@
allowEmpty?: boolean; allowEmpty?: boolean;
children?: Snippet; children?: Snippet;
} = $props(); } = $props();
const limit = 20;
</script> </script>
<div {...restProps}> <div {...restProps}>
@@ -46,7 +44,6 @@
{#if error} {#if error}
<p class="mt-1 text-sm text-red-500">{error}</p> <p class="mt-1 text-sm text-red-500">{error}</p>
{/if} {/if}
{#if callbackURLs.length < limit}
<Button <Button
class="mt-2" class="mt-2"
variant="secondary" variant="secondary"
@@ -56,5 +53,4 @@
<LucidePlus class="mr-1 h-4 w-4" /> <LucidePlus class="mr-1 h-4 w-4" />
{callbackURLs.length === 0 ? m.add() : m.add_another()} {callbackURLs.length === 0 ? m.add() : m.add_another()}
</Button> </Button>
{/if}
</div> </div>