Basket bubble content is not rendered in basket map
Summary
On the "All baskets" page, the basket bubble (dialog) that opens when a map pin is clicked, is empty.
See https://beta.foodsharing.de/region?bid=734&sub=forum&tid=232480&pid=1355994#post-1355994
Related to !2905 (merged)
What is the current bug behavior?
Dialog stays empty.
What is the expected correct behavior?
Dialog contains content
Relevant error messages and/or screenshots
In DEV:
[Vue warn]: Unknown custom element: <BasketBubble> - did you register the component correctly? ...
Possible fixes
The BasketBubble component is never registered because the condition before it is also true. Thus vue cannot render the component, and the basket content is never fetched.
Do we need this third/separate if-branch @alex.simm ?
We need to register the BasketBubble component in the second if-branch: vueRegister({ BasketBubble, BasketsLocationMap })
, then it is rendered.
Edited by Neriton