Add attachments live updates

Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
Anna No 2022-04-14 00:09:02 +07:00
parent c5f7d6d1e9
commit 01d6da49d9
No known key found for this signature in database
GPG Key ID: 08C11FFC23177C87

View File

@ -32,7 +32,7 @@
attachments = await client.findAll(attachment.class.Attachment, { space: value.space, attachedTo: value._id })
}
$: fetch()
$: value.attachments > 0 && fetch()
</script>