mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
parent
d90be23e00
commit
82c9428b45
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ const typing = throttle(3000, () => {
|
|||
});
|
||||
|
||||
let draftKey = $computed(() => props.user ? 'user:' + props.user.id : 'group:' + props.group?.id);
|
||||
let canSend = $computed(() => (text != null && text !== '') || file != null);
|
||||
let canSend = $computed(() => (text != null && text.trim() !== '') || file != null);
|
||||
|
||||
watch([$$(text), $$(file)], saveDraft);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue