Commit Graph

6 Commits

Author SHA1 Message Date
JC Brand 3530ccc35d Add initial TypeScript support and declaration files 2023-02-23 09:38:11 +01:00
JC Brand 78a7841afb Don't duplicate disco items across two collections
We now no longer have an `.items` collection on a disco entity.
Instead, add a new API method `api.disco.entities.items` should be used.

This should solve the issue of the entities disappearing when reloading
the page.

Updates #2925
2022-12-02 22:50:06 +01:00
JC Brand ad501d4309 Avoid AttributeError when `_converse.disco_entities` is undefined 2021-09-13 14:23:46 +02:00
JC Brand 543cf9066a Bugfix. `TypeError: cannot read property 'length' of undefined` 2021-06-14 10:50:58 +02:00
JC Brand 3d58b67517 Use `@converse/openpromise` 2021-04-28 18:35:08 +02:00
JC Brand 7b7ec45db8 Move disco plugin into folder and import lodash utilities separately 2021-04-21 11:03:22 +02:00