mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Allow topics with empty string
We must pass undefined because the server won't accept an empty string. Undefined will make the server use the default value, which is an empty string.
This commit is contained in:
1 parent
d4d09ad9ba
commit
075b7d730c
1 file changed
+4
-4
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
|
||||
import { Modal, CustomId } from '$lib/components';
|
||||
import { Submit, trackError, trackEvent } from '$lib/actions/analytics';
|
||||
import { CustomId, Modal } from '$lib/components';
|
||||
import { Pill } from '$lib/elements';
|
||||
import { InputText, Button, FormList } from '$lib/elements/forms';
|
||||
import { Button, FormList, InputText } from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { ID } from '@appwrite.io/console';
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
{
|
||||
name,
|
||||
description,
|
||||
description: description || undefined,
|
||||
topicId: id ?? ID.unique()
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user