Document relations in Web UI
I'm trying to create and show relations between different document types in nuxeo Web Ui(LTS 2019).
I have continued the steps of this video; https://university.nuxeo.com/learn/course/148/play/415/expert-session-creating-nuxeo-elements-with-nuxeo-studio-designer;lp=5
The creation and erase of the relations work well, but at the moment of loading the relations, I have to go into the document twice. At the first time the relations doesn't appear, they exists, but doesn't show anything, then if I go backwards and go into the document again or another of the same folder they appeared. I took a look to the console and i could see that the times it worked, the ready function(nuxeo-se-document-relations) had been called twice.
It's the same problem when clicking the link to the related document.
Anyone knows why this happens? Thanks for the help