mirror of
https://github.com/Discreetly/frontend.git
synced 2026-01-09 12:58:03 -05:00
refactor(create-room): adding form validations
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
formData.bandadaAddress,
|
||||
formData.bandadaGroupId,
|
||||
formData.bandadaApiKey,
|
||||
"DISCORD"
|
||||
).then((res) => {
|
||||
console.log(res);
|
||||
submitted = true;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
</script>
|
||||
|
||||
<Step locked={formData.rateLimit <= 0}>
|
||||
<Step locked={formData.rateLimit <= 1}>
|
||||
<svelte:fragment slot="header">
|
||||
<div class="h3 text-center">Rate Limit</div>
|
||||
</svelte:fragment>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</script>
|
||||
|
||||
|
||||
<Step locked={formData.messageLimit <= 0}>
|
||||
<Step locked={formData.messageLimit <= 1}>
|
||||
<svelte:fragment slot="header">
|
||||
<div class="h3 text-center">User Message Limit</div>
|
||||
</svelte:fragment>
|
||||
|
||||
Reference in New Issue
Block a user